in reply to Re: Re: redirecting STDERR from shell commands
in thread redirecting STDERR from shell commands
Yes, it does. That is why Perl always uses /bin/sh for system (unless Perl can handle it itself). It never uses csh, tcsh, etc.
Of course, if you are on a system that doesn't have /bin/sh, then this might not work. For example, Win9x's cmd doesn't know about 2>&1 (but WinNT's command.exe does). This is one big reason why building CPAN modules under Win9x often doesn't work.
- tye (but my friends call me "Tye")
|
|---|