RE: Collecting error output from child processes on Win32
==========================================================

I think this will work:

  open STDERR,">$logfile" or die $!;

That should close STDERR and reopen it to the specified output, which
child processes will then inherit.

Another trick might be to just alias STDERR back to STDOUT:

 *STDERR = *STDOUT;

Now anything going to error output falls into the normal output stream.

Test it, though. I haven't done this much on NT.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to