The quotes around command are backticks (ASCII 96, hex 60), not single quotes.$output = `command`; # ^ ^ # | |
As an alternative, you may use
$output = qx(command);
In reply to Re: Re: Re: executing commands and getting output
by rnahi
in thread executing commands and getting output
by tja_ariani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |