Skip to content

Commit 2f15de8

Browse files
committed
add windir and systemroot
1 parent 63834f9 commit 2f15de8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Context/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ private static function get_process_env_variables(): array {
464464

465465
$env = array_merge( $_ENV, $env );
466466

467-
foreach ( [ 'TEMP', 'TMP' ] as $key ) {
467+
foreach ( [ 'TEMP', 'TMP', 'SystemRoot', 'windir' ] as $key ) {
468468
$value = getenv( $key );
469469
if ( false !== $value ) {
470470
$env[ $key ] = $value;

0 commit comments

Comments
 (0)