see perldoc -q capturemy $cmd = '/this/is/a/command -sdfw'; my $result = `$cmd 2>&1`; do_something() if ($result =~ /regex/);
In reply to Re: executing commands and getting output
by bm
in thread executing commands and getting output
by tja_ariani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |