Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Pass the env variables on windows.
  • Loading branch information
pmurias committed Aug 26, 2013
1 parent 3adbc0a commit 6cbe2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/parrot/ops/nqp.ops
Expand Up @@ -355,7 +355,7 @@ static INTVAL Run_OS_Command(PARROT_INTERP, STRING *command, char **env)
memset(&pi, 0, sizeof (pi));

/* Start the child process. */
if (!CreateProcess(shell, cmd, NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi))
if (!CreateProcess(shell, cmd, NULL, NULL, TRUE, 0, env, NULL, &si, &pi))
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_NOSPAWN,
"Can't spawn child process");

Expand Down

0 comments on commit 6cbe2ef

Please sign in to comment.