in reply to Get Return Value from Unix
You also should include the used packages so we know exactly what you use. I personally have no idea from where do you get the tee and TraceLog functions and a quick search on CPAN, perldoc and google didn't got any specific results.
I personally would reroute STDOUT and STDERR directly to the log file using the shell command, i.e. inside the system call with &>logfile. In general this task looks like a shell script would be better suited for it than a Perl program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get Return Value from Unix
by Noame (Beadle) on May 01, 2008 at 12:38 UTC | |
by mscharrer (Hermit) on May 01, 2008 at 13:01 UTC |