But I wanted the output, so I used this: <?php shell_exec("my_script.sh 2>&1 | tee -a /tmp/mylog 2>/dev/null >/dev/null &"); ?> Hope this helps someone.
確定! 回上一頁