Hello beginners,
any hints on this problem?
win32...
I have N threads. in each thread I want to run a command and
redirect it's STDERR and STDOUT to a filehandle/socket opened
in the main thread. I tried with IPC::Run3 but the outputs get
scrambled.
--
Best regards,
Alexandru
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 tr
--- Jos I Boumans <[EMAIL PROTECTED]> wrote:
> well, you can always redirect it to a file like this;
> perl foo.pl > /null
> even on a wintendo...
Nope, doesn't work. Tested this way:
C:\users\default>perl>x
print STDOUT "stdout\n";
print STDERR "stderr\n";
^D
stderr
C:\users\default>t