Windows有这样的东西吗?
exec("nohup /usr/bin/php -f sleep.php > /dev/null 2>&1 &");
Run Code Online (Sandbox Code Playgroud)
irc*_*ell 19
它并不难(虽然有一些细微的差别)......你只需要使用WScript.ShellCOM对象:
$shell = new COM("WScript.Shell");
$shell->run($command, 0, false);
Run Code Online (Sandbox Code Playgroud)
而已...
| 归档时间: |
|
| 查看次数: |
10466 次 |
| 最近记录: |