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.
2 parents 43549ea + 4289bda commit 9e96637Copy full SHA for 9e96637
ext/standard/tests/streams/bug60602.phpt
@@ -9,7 +9,7 @@ $descs = array(
9
2 => array('pipe', 'w'), // strerr
10
);
11
12
-$environment = array('test' => array(1, 2, 3));
+$environment = array('test' => array(1, 2, 3), 'PATH' => getenv('PATH'));
13
14
$cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls';
15
$p = proc_open($cmd, $descs, $pipes, '.', $environment);
0 commit comments