Skip to content
Snippets Groups Projects
Commit c4a73141 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix for subprocess process environment variables (needed for ptris)

Rev: lib/modules/Process.pmod:1.20
parent 6fc58905
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ object spawn(string s,object|void stdin,object|void stdout,object|void stderr,
function|void cleanup, mixed ... args)
{
#if 1
mapping data=([]);
mapping data=(["env":getenv()]);
if(stdin) data->stdin=stdin;
if(stdout) data->stdout=stdout;
if(stderr) data->stderr=stderr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment