题
当我使用exec
或shell_exec
时,他们等到生成的应用程序将退出(在Windows中)。但我需要运行和忘记(并退出)。怎么样?
我尝试了start
dos / windows命令,但尚未找到解决方案。
解决方案
$shell = new COM("WScript.Shell");
$shell->run($command, 0, false);
. 不隶属于 StackOverflow
题
当我使用exec
或shell_exec
时,他们等到生成的应用程序将退出(在Windows中)。但我需要运行和忘记(并退出)。怎么样?
我尝试了start
dos / windows命令,但尚未找到解决方案。
解决方案
$shell = new COM("WScript.Shell");
$shell->run($command, 0, false);
.