Skip to content

Commit 4e9ce39

Browse files
committed
wip - refactor
1 parent 8dbee1d commit 4e9ce39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ChildProcess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public function php(string|array $cmd, string $alias, ?array $env = null, ?bool
7979

8080
public function artisan(string|array $cmd, string $alias, ?array $env = null, ?bool $persistent = false): self
8181
{
82-
$cmd = [PHP_BINARY, 'artisan', ...$this->explodeCommand($cmd)];
82+
$cmd = ['artisan', ...$this->explodeCommand($cmd)];
8383

84-
return $this->start($cmd, $alias, env: $env, persistent: $persistent);
84+
return $this->php($cmd, $alias, env: $env, persistent: $persistent);
8585
}
8686

8787
public function stop(?string $alias = null): void

0 commit comments

Comments
 (0)