autodoc.git
/
modref
/
ex
/
predef_3A_3A
/
Process.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/modref/ex/predef_3A_3A/Process.html:95:
returned mapping it could potentially grow until memory runs out. It is therefore advisable to set up rlimits if the output has a potential to be very large, or else provide functions to handle partial data.</p> </dd> <dt class='head--doc'>Example</dt> <dd class='example'><pre><p>Process.run( ({ "ls", "-l" }) ); Process.run( ({ "ls", "-l" }), ([ "cwd":"/etc" ]) ); Process.run( "ls -l" ); Process.run( "awk -F: '{print $2}'", ([ "stdin":"foo:2\nbar:17\n" ]) );
-
Process.run( ({ "echo Output will be immediately written to
stdour
" }),
+
Process.run( ({ "echo Output will be immediately written to
stdout
" }),
([ "stdout": lambda(string s) { write(s); }, "stderr": lambda(string e) { werror(e); } ]) );</p> </pre></dd></dl> </article> </div> </div> </div> <footer> <div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div> </footer> <script>PikeDoc.current = {"link":"ex/predef_3A_3A/Process.html","name":"Process"};</script> <script src='../../ex/predef_3A_3A/index.js'></script> <script src='../../ex/predef_3A_3A/Process/load_index.js'></script> <script> // Tell PikeDoc that next actions are from loaded scripts PikeDoc.isInline = false; </script> </body> </html>