我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何从PHP异步执行应用程序

When I'm using exec or shell_exec they wait until the spawned app will exit (in Windows). But I need to run and forget (and exit). How?

I tried start DOS/Windows command but did not find the solution yet.

$shell = new COM("WScript.Shell");
$shell->run($command, 0, false);

近期文章

  • Cakephp可以不附加到Model上
  • 将表单数据发送到一个页面,然后是另一个页面?
  • PHP MySQL更新已选择的行
  • 用'gettext'回显字符串时有没有办法隐藏html标签?
  • 从字符串中获取日期时间[复制]
  • 循环不变(归纳)证明正确性
  • Mongodb:将字段更改为数组
  • 不发送PHP SOAP参数
  • 这个循环代码有什么问题
  • PHP错误只显示一次,刷新时消失
  • 如何使用youtube api和php在youtube中查看用户的收藏视频
  • 提交按钮不将表单数据发送到mysql - jquery问题
  • 如何在PHP中捕获外部事件?
  • 使用JOIN匹配第一个结果
  • 使用tcpdf库覆盖pdf文件
  • 有没有替代MYSQL HAVING
  • 将超链接插入sql数据库 - php
  • 如何使用php为我的网站创建绝对网址?
  • 包含引用文件的PHP文件 - 位置始终更改
  • 使用PHP从远程服务器下载多个映像的最佳方法

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华