package shexp

  1. Overview
  2. Docs
val eval : ?context:Shexp_process__.Process.Context.t -> ?capture:bool -> ?log:(Shexp_sexp.Std.Sexp.t -> unit) -> 'a Shexp_process__.Process.t -> 'a

Call the given log function for every event. The log function default to printing to stderr.

If capture is true, then anything printed on the original stdout/stderr is captured and becomes part of the trace.

OCaml

Innovation. Community. Security.