From 77a2484e26efbb65e05a11d6afd93e1ddf51362d Mon Sep 17 00:00:00 2001 From: Saleem Hadad Date: Tue, 8 Sep 2020 23:31:47 +0400 Subject: [PATCH] wip --- src/Traits/RunProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/RunProcess.php b/src/Traits/RunProcess.php index dc9e7aab..221d621e 100644 --- a/src/Traits/RunProcess.php +++ b/src/Traits/RunProcess.php @@ -15,7 +15,7 @@ trait RunProcess */ protected function runProcess($command, $path) { - $process = (new Process($command, $path))->setTimeout(null); + $process = (new Process(explode(" ", $command), $path))->setTimeout(null); if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) { $process->setTty(true);