Commit 8079165e by 冷斌

fix bug

parent 2e767d31
...@@ -115,10 +115,10 @@ class Process ...@@ -115,10 +115,10 @@ class Process
*/ */
public function __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = []) public function __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = [])
{ {
var_dump(1111);die;
if (!function_exists('proc_open')) { if (!function_exists('proc_open')) {
throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.'); throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.');
} }
var_dump($commandline, $cwd);die;
$this->commandline = $commandline; $this->commandline = $commandline;
$this->cwd = $cwd; $this->cwd = $cwd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment