pike.git / lib / modules / Process.pmod

version» Context lines:

pike.git/lib/modules/Process.pmod:73:    break;    }    }    return ret;   }      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;   #ifdef __NT__    return create_process(split_quoted_string(s),data);   #else /* !__NT__ */    return create_process(({ "/bin/sh", "-c", s }),data);   #endif /* __NT__ */   #else