Skip to content

Commit 160b867

Browse files
Willem Leuverinksimonhamp
andauthored
Update src/ChildProcess.php
Co-authored-by: Simon Hamp <[email protected]>
1 parent e446a66 commit 160b867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChildProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function start(
6868
$process = $this->client->post('child-process/start', [
6969
'alias' => $alias,
7070
'cmd' => $cmd,
71-
'cwd' => $cwd,
71+
'cwd' => $cwd ?? base_path(),
7272
'env' => $env,
7373
'persistent' => $persistent,
7474
])->json();

0 commit comments

Comments
 (0)