Re: Redirect error of shell command

2001-08-21 Thread Matthew Lyon
in UNIX, when piping this stuff to a file I've had better luck sabotaging STDERR and STDOUT's handles, (while dumping them into a file.) On Tue, 21 Aug 2001, Luke Bakken wrote: > Which shell? Which operating system? Where do you want it to go? > > To redirect STDERR to oblivion on NT: > > system

Re: Redirect error of shell command

2001-08-21 Thread Luke Bakken
Which shell? Which operating system? Where do you want it to go? To redirect STDERR to oblivion on NT: system "command > nul"; On UNIX: system "command 2> /dev/null" On Tue, 21 Aug 2001, Janice Pickron wrote: > Hello Perl Guru! > > How do you redirect the standard error of a shell command?

Re: Redirect error of shell command

2001-08-21 Thread Brett W. McCoy
On Tue, 21 Aug 2001, Janice Pickron wrote: > How do you redirect the standard error of a shell command? cmd 2>&1 -- Brett http://www.chapelperilous.net/ FORTUNE REMEMBERS THE GREAT

Redirect error of shell command

2001-08-21 Thread Janice Pickron
Hello Perl Guru! How do you redirect the standard error of a shell command? Thanks!