Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
saleem-hadad committed Sep 8, 2020
1 parent fa765b4 commit 77a2484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/RunProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 77a2484

Please sign in to comment.