n></span> <span class="type-var">'a</span>)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span class="type-var">'a</span>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p>Execute a command in, where a handle to the created process will be availbe as the sole input parameter of the function <code>f</code>. When <code>f</code> exits, we close any &quot;dangling&quot; file descriptors and wait for the process to exit, fin