Win32::Job available with the default 5.8 activestate distribution will allow you to redirect the STDERR, STDOUT, and STDIN of the spawned process to any arbitrary file handle.
hope this helps,
zlr
updated with working code : Re^5: Win32 capturing output from a process that may hang
In reply to Re: Win32 capturing output from a process that may hang
by ZlR
in thread Win32 capturing output from a process that may hang
by Random_Walk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |