+
95
-

回答

<?php
$command = $yourCommand.' > /dev/null 2>&1 & echo $!';
exec($command ,$output);
$pid = (int)$op[0];
?>

网友回复

我知道答案,我要回答