Commit 6a1d203b authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1994 from aeberhardo/bug/putenv

Fixes variable export for Windows.
parents 37acc995 cfcd82e0
...@@ -89,7 +89,7 @@ class Runner extends Task { ...@@ -89,7 +89,7 @@ class Runner extends Task {
$esc_path = escapeshellarg($path); $esc_path = escapeshellarg($path);
putenv('LARAVEL_ENV='.Request::env()); putenv('LARAVEL_ENV='.Request::env());
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status); passthru('phpunit --configuration '.$esc_path, $status);
@unlink($path); @unlink($path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment