@foobar=`mac \"foo.ape\" -v 2>/dev/null`;
Or, if you want to capture STDERR as well:
@foobar=`mac \"foo.ape\" -v 2>&1`;
m.att
In reply to Re: Running external command from perl but cannot capture output
by m.att
in thread Running external command from perl but cannot capture output
by Syco54645
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |