package shexp

  1. Overview
  2. Docs
val eval : ?context:Shexp_process__.Process.Context.t -> ?capture:bool -> 'a Shexp_process__.Process.t -> ('a, exn) Pervasives.result * Shexp_sexp.Std.Sexp.t

Produce a full execution trace.

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

val eval_exn : ?context:Shexp_process__.Process.Context.t -> ?capture:bool -> 'a Shexp_process__.Process.t -> 'a * Shexp_sexp.Std.Sexp.t
OCaml

Innovation. Community. Security.