in reply to running an outside script
At least this is what I have in a few of my smaller scripts (mostly throw-away) running in tcsh shell. The '2&>1' simply makes it so that all the error messages produced by the script (printed to the STDERR file handler) will also be 'sent' to STDOUT and consequently received by our script.my $prog_output = `shell_command 2&>1`; print "OUTPUT: $prog_output\n";
# Under Construction
|
|---|