pike.git / lib / modules / Process.pmod

version» Context lines:

pike.git/lib/modules/Process.pmod:77:   }      object spawn(string s,object|void stdin,object|void stdout,object|void stderr,    function|void cleanup, mixed ... args)   {   #if 1    mapping data=(["env":getenv()]);    if(stdin) data->stdin=stdin;    if(stdout) data->stdout=stdout;    if(stderr) data->stderr=stderr; - #ifdef __NT__ + #if defined(__NT__) || defined(__amigaos__)    return create_process(split_quoted_string(s),data); - #else /* !__NT__ */ + #else /* !__NT__||__amigaos__ */    return create_process(({ "/bin/sh", "-c", s }),data); - #endif /* __NT__ */ + #endif /* __NT__||__amigaos__ */   #else       object pid;      #if constant(fork)    pid=fork();   #endif       if(pid)    {