Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > RDT under windows ... output buffered ???

Reply
Thread Tools

RDT under windows ... output buffered ???

 
 
Jeff Wood
Guest
Posts: n/a
 
      10-21-2005
I'm finding that print statements are being buffered when I run apps
inside Eclipse w/ RDT.

If I add a STDOUT.flush ... things get printed ... but, I don't have
to do that when I'm running from Linux ... Any comments ???

j.

--
"http://ruby-lang.org -- do you ruby?"

Jeff Wood


 
Reply With Quote
 
 
 
 
aurelianito
Guest
Posts: n/a
 
      10-22-2005
> I'm finding that print statements are being buffered when I run apps
> inside Eclipse w/ RDT.
>
> If I add a STDOUT.flush ... things get printed ... but, I don't have
> to do that when I'm running from Linux ... Any comments ???
>
> j.
>
> --
> "http://ruby-lang.org -- do you ruby?"
>
> Jeff Wood


It's on the ruby eclipse page. you should write $stdout.sync=true or
$stdout.flush.

For more information, check out
http://rubyeclipse.sourceforge.net/faq.rdt.html

Regards,
Aureliano.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffered output from external process? reid Java 4 04-09-2009 02:42 PM
No breakpoints/single stepping under RDT in Eclipse on Linux? wolfram@arnold.name Ruby 0 05-31-2006 08:37 AM
whether is the standard input stream full buffered or line buffered after calling function setbuf()? kernelxu@hotmail.com C Programming 9 08-23-2005 02:24 PM
How to read buffered output from ping-like process Chris Perl Misc 3 03-16-2005 05:46 PM
[ANN] RDT 0.4.0 Released Chris Williams Ruby 2 04-02-2004 05:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57