我有一个命令,我想运行,但我不希望 PHP 坐等结果。
<?php
echo "Starting Script";
exec('run_baby_run');
echo "Thanks, Script is running in background";
?>
Is it possible to have PHP not wait for the result.. i.e. just kick it off and move along to the next command.
我找不到任何东西,甚至不确定这是否可能。我能找到的最好的就是有人在一分钟内开始一个 CRON 工作。