pike.git / lib / modules / Process.pmod

version» Context lines:

pike.git/lib/modules/Process.pmod:1:   #define error(X) throw( ({ (X), backtrace()[0..sizeof(backtrace())-2] }) )      import Stdio;      // static private inherit File : file;    + #if !constant(strerror) + #define strerror(X) ("errno="+X) + #endif +    varargs int exec(string file,string ... foo)   {    if (sizeof(file)) {    string path;       if(search(file,"/") >= 0)    return exece(combine_path(getcwd(),file),foo,getenv());       path=getenv("PATH");