in reply to Re: How can I redirect STDOUT and STDERR from a program on WIN32?
in thread How can I redirect STDOUT and STDERR from a program on WIN32?
To make it portable do this instead.
That _should_ do it.use File::Spec; sub phork { #... open(STDOUT, '> ' . File::Spec->devnull); open(STDERR, '> ' . File::Spec->devnull); #... }
|
---|