Redirecting the output to a file like this didn't work for me: <?php # this doesn't work! shell_exec("my_script.sh 2>&1 >> /tmp/mylog &");
確定! 回上一頁