in reply to child process stream capturing and Windows

Seems like the stream isn't flushed or something like that

STDERR should not be buffered, but you can mark STDOUT as unbuffered with local $! = 1;

Replies are listed 'Best First'.
Re^2: child process stream capturing and Windows
by mkueper (Initiate) on Jun 16, 2009 at 10:35 UTC
    a already used the statement $| = 1 before the open3 command
      Have you done this in the child process as well, not just before you call the child in the parent process? I'm not too experienced in Perl on Windows, as I've mostly worked on Unix/Linux/OS X systems, but I believe that certain systems expect certain default behaviors. I don't know that the value for $| is inherited by the child; it might be set to the default of 'unflushed'.

      --
      tbone1, YAPS (Yet Another Perl Schlub)
      And remember, if he succeeds, so what.
      - Chick McGee