We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2964f4 commit 4609225Copy full SHA for 4609225
1 file changed
src/Process.php
@@ -17,12 +17,13 @@ class Process {
17
protected array $status;
18
protected bool $isBlocking = false;
19
/** @var array<string, string> */
20
- protected array $env = [];
+ protected array $env;
21
22
public function __construct(string...$command) {
23
$this->command = $command;
24
$this->cwd = getcwd();
25
$this->pipes = [];
26
+ $this->env = getenv();
27
}
28
29
public function __destruct() {
0 commit comments