Skip to content

Commit 01e6038

Browse files
committed
default env to null to use the same environment as the current PHP process
1 parent ca5dc5f commit 01e6038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ function default_debug( $launch ) {
14371437
*
14381438
* @return bool True if executed successfully. False if failed.
14391439
*/
1440-
function default_launch( $command, $env = array(), $cwd = null ) {
1440+
function default_launch( $command, $env = null, $cwd = null ) {
14411441
$launch = EE::launch( $command, false, true, $env, $cwd );
14421442
default_debug( $launch );
14431443
if ( ! $launch->return_code ) {

0 commit comments

Comments
 (0)