module Exit_or_signal: sig
.. end
type
error = [ `Exit_non_zero of int | `Signal of Signal.t ]
type
t = (unit, error) Result.t
val of_unix : Caml.Unix.process_status -> t
of_unix
assumes that any signal numbers in the incoming value are O'Caml internal
signal numbers.
val to_string_hum : t -> string
val error_of_sexp : Sexplib.Sexp.t -> error
val error_of_sexp__ : Sexplib.Sexp.t -> error
val sexp_of_error : error -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
of_unix
assumes that any signal numbers in the incoming value are O'Caml internal
signal numbers.