pike.git / lib / modules / Crypto / randomness.pmod

version» Context lines:

pike.git/lib/modules/Crypto/randomness.pmod:47: Inside #if undefined(__NT__)
   object null=Stdio.File("/dev/null","rw");    env["PATH"]=PATH;   #else    object null=Stdio.File("nul:","rw");   #endif       foreach(SYSTEM_COMMANDS, string cmd)    {    catch {    Process.create_process(Process.split_quoted_string(cmd), -  (["stdin":null,"stdout":child_pipe,"stderr":null])); +  (["stdin":null, +  "stdout":child_pipe, +  "stderr":null, +  "env":env]));    };    }       destruct(child_pipe);       return parent_pipe->read();   }         class pike_random {