in reply to Error Suppresses Output from CGI Script That Runs Fine from the Command Line
You might try something like:
my $doctotextcmd = "no-frills %a %d %f"; my $errors = `"doctotext.exe --fix-xml --unzip-cmd = $doctotextcmd $su +ccess[0] 2>&1 > temp.txt"`;
Then do something appropriate with any errors that appear in $errors.
|
|---|