ion</span></span></code></div><div class="spec-doc"><p>Find out if your process has finished executing.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-cmd"><a href="#val-cmd" class="anchor"></a><code><span><span class="keyword">val</span> cmd : 
  <span><span class="optlabel">?prog</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?env</span>:<span>string list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlab