diff --git a/lib/Console.php b/lib/Console.php index a68a65c..3aea957 100644 --- a/lib/Console.php +++ b/lib/Console.php @@ -1,4 +1,4 @@ -defaultArgs, $args); + $stdin = array_merge($stdin, $this->defaultArgs, $args); if (isset($input)) { $input = $this->convertToString($input); } - $process = new Process(implode(' ', $stdin), null, $envs, $input); - $process->inheritEnvironmentVariables(); + $process = new Process($stdin, null, $envs, $input); try { $process->mustRun();