Skip to content

Commit 51677e3

Browse files
committed
Allow stopping commands properly
1 parent 5eada9f commit 51677e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Commands/Concerns/ManagesProcess.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ trait ManagesProcess
2727

2828
public function createPendingProcess(): PendingProcess
2929
{
30-
$process = Process::command($this->command)->forever();
30+
$parts = explode(' ', $this->command);
31+
$process = Process::command($parts)->forever();
3132

3233
if ($this->processModifier) {
3334
call_user_func($this->processModifier, $process);

0 commit comments

Comments
 (0)