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
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?
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
Hello Perl Guru!
How do you redirect the standard error of a shell command?
Thanks!