Skip to content

Commit be25fa4

Browse files
committed
pass down differently
1 parent ecb21c0 commit be25fa4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Context/FeatureContext.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,13 @@ private static function get_process_env_variables(): array {
464464

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

467+
foreach ( [ 'TEMP', 'TMP' ] as $key ) {
468+
$value = getenv( $key );
469+
if ( false !== $value ) {
470+
$env[ $key ] = $value;
471+
}
472+
}
473+
467474
if ( self::running_with_code_coverage() ) {
468475
$has_coverage_driver = ( new Runtime() )->hasXdebug() || ( new Runtime() )->hasPCOV();
469476

0 commit comments

Comments
 (0)