You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.5 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__Process (InferBase.InferBase__Process)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">InferBase</a> &#x00BB; InferBase__Process</nav><h1>Module <code>InferBase__Process</code></h1></header><dl><dt class="spec value" id="val-create_process_and_wait"><a href="#val-create_process_and_wait" class="anchor"></a><code><span class="keyword">val</span> create_process_and_wait : <span>prog:string</span> <span>&#45;&gt;</span> <span>args:<span>string list</span></span> <span>&#45;&gt;</span> unit</code></dt><dd><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></dd></dl><dl><dt class="spec value" id="val-print_error_and_exit"><a href="#val-print_error_and_exit" class="anchor"></a><code><span class="keyword">val</span> print_error_and_exit : <span>?&#8288;exit_code:int</span> <span>&#45;&gt;</span> <span><span>(<span class="type-var">'a</span>, Stdlib.Format.formatter, unit, <span class="type-var">'b</span>)</span> <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.format4</span> <span>&#45;&gt;</span> <span class="type-var">'a</span></code></dt><dd><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></dd></dl><dl><dt class="spec value" id="val-pipeline"><a href="#val-pipeline" class="anchor"></a><code><span class="keyword">val</span> pipeline : <span>producer_prog:string</span> <span>&#45;&gt;</span> <span>producer_args:<span>string list</span></span> <span>&#45;&gt;</span> <span>consumer_prog:string</span> <span>&#45;&gt;</span> <span>consumer_args:<span>string list</span></span> <span>&#45;&gt;</span> <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t * <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t</code></dt><dd><p>Pipeline producer program into consumer program</p></dd></dl></div></body></html>