snoyman.com-content/static/typed-process/mini_System-Process-Typed.html
2016-10-14 14:27:54 +03:00

4 lines
No EOL
6.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.Process.Typed</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();};
//]]>
</script></head><body id="mini"><div id="module-header"><p class="caption">System.Process.Typed</p></div><div id="interface"><h1>Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:ProcessConfig" target="main">ProcessConfig</a> stdin stdout stderr</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:StreamSpec" target="main">StreamSpec</a> streamType a</p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:StreamType" target="main">StreamType</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:Process" target="main">Process</a> stdin stdout stderr</p></div><h1>ProcessConfig</h1><h2>Smart constructors</h2><div class="top"><p class="src"><a href="System-Process-Typed.html#v:proc" target="main">proc</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:shell" target="main">shell</a></p></div><h2>Setters</h2><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setStdin" target="main">setStdin</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setStdout" target="main">setStdout</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setStderr" target="main">setStderr</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setWorkingDir" target="main">setWorkingDir</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setEnv" target="main">setEnv</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setCloseFds" target="main">setCloseFds</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setCreateGroup" target="main">setCreateGroup</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setDelegateCtlc" target="main">setDelegateCtlc</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setDetachConsole" target="main">setDetachConsole</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setCreateNewConsole" target="main">setCreateNewConsole</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setNewSession" target="main">setNewSession</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setChildGroup" target="main">setChildGroup</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setChildUser" target="main">setChildUser</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:setCheckExitCode" target="main">setCheckExitCode</a></p></div><h1>Stream specs</h1><div class="top"><p class="src"><a href="System-Process-Typed.html#v:mkStreamSpec" target="main">mkStreamSpec</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:inherit" target="main">inherit</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:closed" target="main">closed</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:byteStringInput" target="main">byteStringInput</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:byteStringOutput" target="main">byteStringOutput</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:createPipe" target="main">createPipe</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:useHandleOpen" target="main">useHandleOpen</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:useHandleClose" target="main">useHandleClose</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:sink" target="main">sink</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:source" target="main">source</a></p></div><h1>Launch a process</h1><div class="top"><p class="src"><a href="System-Process-Typed.html#v:startProcess" target="main">startProcess</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:stopProcess" target="main">stopProcess</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:withProcess" target="main">withProcess</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:readProcess" target="main">readProcess</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:runProcess" target="main">runProcess</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:runProcess_" target="main">runProcess_</a></p></div><h1>Interact with a process</h1><h2>Process exit code</h2><div class="top"><p class="src"><a href="System-Process-Typed.html#v:waitExitCode" target="main">waitExitCode</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:waitExitCodeSTM" target="main">waitExitCodeSTM</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:checkExitCode" target="main">checkExitCode</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:checkExitCodeSTM" target="main">checkExitCodeSTM</a></p></div><h2>Process streams</h2><div class="top"><p class="src"><a href="System-Process-Typed.html#v:getStdin" target="main">getStdin</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:getStdout" target="main">getStdout</a></p></div><div class="top"><p class="src"><a href="System-Process-Typed.html#v:getStderr" target="main">getStderr</a></p></div><h1>Exceptions</h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:ExitCodeException" target="main">ExitCodeException</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a href="System-Process-Typed.html#t:ByteStringOutputException" target="main">ByteStringOutputException</a></p></div></div></body></html>