mkueper has asked for the wisdom of the Perl Monks concerning the following question:
i only get the whole output, when the childprocess has completely finished. Thats not what i want. I want the console to reflect each print statement of the childprocess as soon as it is executed. (Seems like the stream isn't flushed or something like that) On Unix this works as it should, but the same code on windows behaves differently. Can anybody tell me if there is a way to get the desired result on windows too?my $pid = open3(\*STDIN, ">&STDOUT", \*STDERR, "streamtestinner.pl");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: child process stream capturing and Windows
by cdarke (Prior) on Jun 16, 2009 at 10:08 UTC | |
by mkueper (Initiate) on Jun 16, 2009 at 10:35 UTC | |
by tbone1 (Monsignor) on Jun 16, 2009 at 13:58 UTC |