Module NesProcess

module Log : Logs.LOG
type process_status = Unix.process_status =
  1. | WEXITED of int
  2. | WSIGNALED of int
  3. | WSTOPPED of int
val pp_process_status : Ppx_deriving_runtime.Format.formatter -> process_status -> Ppx_deriving_runtime.unit
val show_process_status : process_status -> Ppx_deriving_runtime.string
type output = {
  1. stdout : string;
  2. stderr : string;
  3. status : process_status;
}
val escape_shell_argument : string -> string
type loglevel = Logs.level =
  1. | App
  2. | Error
  3. | Warning
  4. | Info
  5. | Debug
val compare_loglevel : loglevel -> loglevel -> int
val check_output : ?on_wrong_status:loglevel -> ?on_nonempty_stdout:loglevel -> ?on_nonempty_stderr:loglevel -> ?on_ok:loglevel -> ?command:string -> output -> unit
val run : ?timeout:float -> ?env:string array -> ?cwd:string -> ?stdin:string -> ?on_wrong_status:loglevel -> ?on_nonempty_stdout:loglevel -> ?on_nonempty_stderr:loglevel -> ?on_ok:loglevel -> string list -> output Lwt.t