Fixed output redir

If shell_exec() receives any output, the script will hang