$cmd = '"H:\phpstudy_pro\Extensions\php\php7.3.4nts\php.exe" I:\weman\webman\start.php I:\weman\webman\runtime\/windows\start_monitor.php I:\weman\webman\runtime\/windows\start_task.php I:\weman\webman\runtime\/windows\start_gatewayworker.php I:\weman\webman\runtime\/windows\start_plugin.webman.gateway-worker.gateway.php I:\weman\webman\runtime\/windows\start_plugin.webman.gateway-worker.worker.php I:\weman\webman\runtime\/windows\start_plugin.webman.gateway-worker.register.php'; $descriptorspec = [STDIN, STDOUT, STDOUT]; $resource = proc_open($cmd, $descriptorspec, $pipes, null, null, ['bypass_shell' => true]); if (!$resource) { exit("Can not execute $cmd\r\n"); } return $resource;
标签:runtime,start,windows,webman,终端,weman,php From: https://www.cnblogs.com/chengfengchi/p/17373549.html