Fixes variable export for Windows.
Issue: https://github.com/laravel/laravel/issues/1870
Fix in commit 678b92ef85 does not work.
Signed-off-by: aeberhardo <aeberhard@gmx.ch>
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user