in reply to Re^2: Capture external program return value
in thread Capture external program return value
my $result = `blastall -i foo -o bar -p blastx -d baz`; die("Could not execute blastall: $!\n") if !defined($result); die("Died from signal ", ($? & 127), "\n") if $? & 127; die("Exited with error ", ($? >> 8), "\n") if $? >> 8;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Capture external program return value
by Anonymous Monk on May 02, 2010 at 16:51 UTC | |
by ikegami (Patriarch) on May 02, 2010 at 20:28 UTC |