Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: CGI and Systemby Tanktalus (Canon) |
on Feb 20, 2005 at 17:09 UTC ( [id://432875]=note: print w/replies, xml ) | Need Help?? |
Last "try this - I haven't" idea: close stderr, too. Perhaps 2> /dev/null would be about right. Ideally, you'd fork, close stdout and stderr in the child, then exec your command, still in the child. Or, in your case, redirect stdout to a file, close stderr, then exec your command.
In Section
Seekers of Perl Wisdom
|
|