Module Process.Traced
val eval : ?context:Context.t -> ?capture:bool -> 'a t -> ('a, exn) Stdlib.result * Shexp_sexp.Std.Sexp.t
Produce a full execution trace.
If
capture
istrue
, then anything printed on the originalstdout
/stderr
is captured and becomes part of the trace.
val eval_exn : ?context:Context.t -> ?capture:bool -> 'a t -> 'a * Shexp_sexp.Std.Sexp.t