in reply to IPC::Open3 confusion

Two errors:
  1. in outerr.pl, autoflush is not set,. Just do this:
    use IO::Handle; STDERR->autoflush(1); STDSTD->autoflush(1);
  2. the sequence of parameter to open3 is: out, in, err. You gave the wrong sequence. This is something confusing, have to be careful, as the sequence of the first two parameters to open2 and open3 are reversed.
I tested it, and it worked.

Replies are listed 'Best First'.
Re: Re: IPC::Open3 confusion
by xafwodahs (Scribe) on Feb 04, 2003 at 20:18 UTC
    Unfortunately, I don't have the luxury of changing the 'called' script.