B
Brian
I wrote a perl script which invokes system calls using system().
I want to be able to redirect the output of these calls to a file. I
thought you could use 2>&1 to do this. Such as:
system("mycommand 2>&1 > results.log");
But all I get in the logfile is stdout. stderr still goes to the
screen.
Anyone have any clues?
I want to be able to redirect the output of these calls to a file. I
thought you could use 2>&1 to do this. Such as:
system("mycommand 2>&1 > results.log");
But all I get in the logfile is stdout. stderr still goes to the
screen.
Anyone have any clues?