gpt4 book ai didi

php - shell_exec 无需等待输出

转载 作者:可可西里 更新时间:2023-10-31 22:42:17 26 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Asynchronous shell exec in PHP
Is there a way to use shell_exec without waiting for the command to complete?

我想运行一个非常慢/复杂的程序,至少需要 10 分钟才能完成。我想通过 shell_exec 或类似的东西调用它,但我不希望 php 脚本等待这个程序完成。

有什么我能做的吗?如果可以,我该怎么做?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com