shexp

Process library and s-expression based shell
IN THIS PACKAGE
val eval : ?context:Context.t -> ?capture:bool -> 'a t -> ( 'a, exn ) 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:Context.t -> ?capture:bool -> 'a t -> 'a * Shexp_sexp.Std.Sexp.t