The executed command inherits STDOUT, STDIN, STDERR from the process that executes it. So, you can simply reopen STDERR and STDOUT to /dev/null and then execute the command. See 'perldoc -f open' for details on how to restore your STDERR and STDOUT after the command finishes.
In reply to Re: Redirect output of the system() command
by andal
in thread Redirect output of the system() command
by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |