autodoc.git
/
traditional_manual
/
chapter_21.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_21.html:34041:
</td></tr> <tr><td><code><code class='key'>"mem"</code> : <code class='object unresolved'>limit_value</code></code></td><td><p>maximum size of the process's total amount of available memory (mmap, heap and stack size) in bytes</p> </td></tr> <tr><td><code><code class='key'>"nofile"</code> : <code class='object unresolved'>limit_value</code></code></td><td><p>maximum number of file descriptors the process may create</p> </td></tr> <tr><td><code><code class='key'>"stack"</code> : <code class='object unresolved'>limit_value</code></code></td><td><p>maximum stack size in bytes</p> </td></tr> </table> </td></tr>
+
<tr><td><code><code class='key'>"conpty"</code> : <code class='object unresolved'>Stdio.File</code></code></td><td><p>Bind the process to the console associated with this
+
pty slave. NT only.</p>
+
</td></tr>
</table> </dd> <dt class='head--doc'>Example</dt> <dd class='example'><pre><p>Process.create_process(({ "/usr/bin/env" }), (["env" : getenv() + (["TERM":"vt100"]) ]));</p> </pre></dd> <dt class='head--doc'>Example</dt> <dd class='example'><pre><p>//! Spawn a new process with the args @[args] and optionally a //! standard input if you provide such a @[Stdio.File] object. //! @returns
autodoc.git/traditional_manual/chapter_21.html:34069:
return ({ Process.create_process( args, opts ), stdout }); }</p> </pre></dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>All parameters that accept both string or int input can be noticeably slower using a string instead of an integer; if maximum performance is an issue, please use integers.</p> </dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>On NT the only supported modifiers are: <code class='expr'>"cwd"</code>,
-
<code class='expr'>"stdin"</code>, <code class='expr'>"stdout"</code>, <code class='expr'>"stderr"</code>
and
-
<code class='expr'>"env"</code>. All other modifiers are silently ignored.</p>
+
<code class='expr'>"
conpty"</code>, <code class='expr'>"
stdin"</code>, <code class='expr'>"stdout"</code>, <code class='expr'>"stderr"</code>
+
and
<code class='expr'>"env"</code>. All other modifiers are silently ignored.</p>
</dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>Support for <code class='expr'>"callback"</code> was added in Pike 7.7.</p> </dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>Chroot changing directory to <code class='expr'>"/"</code> was added in Pike 7.9.</p> </dd></dl> <hr />