This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__Process (InferBase.InferBase__Process)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><metaname="generator"content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><navid="top"><ahref="../index.html">Up</a>—<spanclass="package">package <ahref="../index.html">InferBase</a></span></nav><header><h1><spanclass="keyword">Module</span><spanclass="module-path">InferBase__Process</span></h1></header><divclass="spec val"id="val-create_process_and_wait"><ahref="#val-create_process_and_wait"class="anchor"></a><divclass="def val"><code><spanclass="keyword">val </span>create_process_and_wait : prog:string <spanclass="keyword">‑></span> args:string list <spanclass="keyword">‑></span> unit</code></div><divclass="doc"><p>Given an command to be executed, creates a process to execute this command,
and waits for its execution. The standard out and error are not redirected.
If the commands fails to execute, prints an error message and exits.</p></div></div><divclass="spec val"id="val-print_error_and_exit"><ahref="#val-print_error_and_exit"class="anchor"></a><divclass="def val"><code><spanclass="keyword">val </span>print_error_and_exit : ?⁠exit_code:int <spanclass="keyword">‑></span> (<spanclass="type-var">'a</span>,Format.formatter,unit,<spanclass="type-var">'b</span>)<ahref="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.format4 <spanclass="keyword">‑></span><spanclass="type-var">'a</span></code></div><divclass="doc"><p>Prints an error message to a log file, prints a message saying that the error can be
found in that file, and exist, with default code 1 or a given code.</p></div></div><divclass="spec val"id="val-pipeline"><ahref="#val-pipeline"class="anchor"></a><divclass="def val"><code><spanclass="keyword">val </span>pipeline : producer_prog:string <spanclass="keyword">‑></span> producer_args:string list <spanclass="keyword">‑></span> consumer_prog:string <spanclass="keyword">‑></span> consumer_args:string list <spanclass="keyword">‑></span><ahref="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t<spanclass="keyword"> * </span><ahref="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t</code></div><divclass="doc"><p>Pipeline producer program into consumer program</p></div></div></body></html>