threads and processes with redirected STDOUT and STDERR on win32

2008-08-25 Thread Alexandru Maximciuc
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: STDERR on Win32

2001-05-15 Thread Paul
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

STDERR on Win32 [was: Re: How can I get all error messages from this script, including system cmds.]

2001-05-15 Thread Paul
--- 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