Why would you want to run your programs on Windows? On Thursday, December 5, 2002, at 06:41 PM, Chris Pine wrote: > Quick question: > > Why do I have to put > > $stdout.sync = true > > in my programs if I run them in Windows (it's XP, if that matters), > but not > in Linux? [snip] > > In Linux, it works like you'd expect, but in Windows (unless I set > $stdout.sync = true), it doesn't print the first line until the end. > So the > program looks like it's hanging when it's waiting for the 'gets' to > finish. > > Is this on purpose? I'd rather not have to introduce '$stdout.sync = > true' > right now. It seems like 'true' should be the default setting, > anyway... > doesn't it? > > Chris > >