autodoc.git
/
traditional_manual
/
chapter_27.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_27.html:27105:
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> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>daemon</b></span> </dt> <dd><p><code><code class='datatype'>void</code> <b><span class='method'>daemon</span>(</b><code class='datatype'>int</code> <code class='argument'>nochdir</code>, <code class='datatype'>int</code> <code class='argument'>noclose</code>, <code class='datatype'>void</code>|<code class='datatype'>mapping</code>(<code class='datatype'>string</code>:<code class='datatype'>string</code>|<code class='object unresolved'>Stdio.File</code>) <code class='argument'>modifiers</code><b>)</b></code></p></dd>