Welcome to the Monastery | |
PerlMonks |
Re: Re: Inconsistent system call from backticks vs system()by Tanalis (Curate) |
on Jul 01, 2003 at 14:15 UTC ( [id://270480]=note: print w/replies, xml ) | Need Help?? |
The reason for the 2>&1 is to trap STDERR as well as STDOUT, as perlop explains in its examples.
I'm aware that system() doesn't trap output, and I don't intend using it, but unless I can get the backticks to work as I expect them to (system with STDOUT and STDERR trapping) I'll have to think of some other way to do this :/ Thanks for the feedback. -- Foxcub
In Section
Seekers of Perl Wisdom
|
|