浏览代码

异步执行

陈德本 7 年之前
父节点
当前提交
b9f119770d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hintData.php

+ 1 - 1
hintData.php

@@ -80,7 +80,7 @@ if (!$wd) {
     $wd = str_replace($origin_str, $des_str, $wd);
     $deep=$_REQUEST['deep']?:1;
 //    echo $cmd=sprintf("nohup /usr/local/php7.2/bin/php /home/wwwroot/wyt.phplife.net/cli.php %s %s > /home/wwwroot/wyt.phplife.net/wangyating.log &",$wd,$deep);
-    $cmd=sprintf("/home/wwwroot/wyt.phplife.net/cli.php %s %s",$wd,$deep);
+    $cmd=sprintf("/usr/local/php7.2/bin/php /home/wwwroot/wyt.phplife.net/cli.php %s %s",$wd,$deep);
     pclose(popen($cmd, 'r'));
 //    $str= shell_exec($cmd);