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.

5 lines
2.6 KiB

This file contains invisible Unicode characters!

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>
<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="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">InferBase</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferBase__Process</span></h1></header><div class="spec val" id="val-create_process_and_wait"><a href="#val-create_process_and_wait" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>create_process_and_wait : prog:string <span class="keyword">&#8209;&gt;</span> args:string list <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="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><div class="spec val" id="val-print_error_and_exit"><a href="#val-print_error_and_exit" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>print_error_and_exit : ?&#8288;exit_code:int <span class="keyword">&#8209;&gt;</span> (<span class="type-var">'a</span>, Format.formatter, unit, <span class="type-var">'b</span>) <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.format4 <span class="keyword">&#8209;&gt;</span> <span class="type-var">'a</span></code></div><div class="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><div class="spec val" id="val-pipeline"><a href="#val-pipeline" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>pipeline : producer_prog:string <span class="keyword">&#8209;&gt;</span> producer_args:string list <span class="keyword">&#8209;&gt;</span> consumer_prog:string <span class="keyword">&#8209;&gt;</span> consumer_args:string list <span class="keyword">&#8209;&gt;</span> <a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t<span class="keyword"> * </span><a href="../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.Unix.Exit_or_signal.t</code></div><div class="doc"><p>Pipeline producer program into consumer program</p></div></div></body></html>