Skip to content

Commit 8214d23

Browse files
committed
fix(shell): exitcode is null first
1 parent 0555068 commit 8214d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helper/Shell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Shell
4747
protected array $env = [];
4848

4949
/** @var int Exit code of the process once it has been terminated */
50-
protected int $exitCode = 0;
50+
protected ?int $exitCode = null;
5151

5252
/** @var array Other options to be passed for proc_open */
5353
protected array $otherOptions = [];

0 commit comments

Comments
 (0)