package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

collect_output_and_wait t closes stdin t and then begins collecting the output produced on t's stdout and stderr, continuing to collect output until t terminates and the pipes for stdout and stderr are closed. Usually when t terminates, the pipes are closed; however, t could fork other processes which survive after t terminates and in turn keep the pipes open -- wait will not become determined until both pipes are closed in all descendant processes.

type t = {
  1. stdout : string;
  2. stderr : string;
  3. exit_status : Core.Unix.Exit_or_signal.t;
}
include sig ... end
val compare : t -> t -> int
val sexp_of_t : t -> Sexplib.Sexp.t
module Stable : sig ... end