package spotlib

  1. Overview
  2. Docs
val exec : ?env:string array -> string list -> (output SpotStream.t -> 'a) -> ((('a, [> `Exn of exn ]) result * Unix.process_status) -> 'res) -> 'res
val shell_exec : ?env:string array -> string -> (output SpotStream.t -> 'a) -> ((('a, [> `Exn of exn ]) result * Unix.process_status) -> 'res) -> 'res
val must_exit_with : int -> (('a, [< `Exn of exn ]) result * Unix.process_status) -> 'a

a process finalizer. If the exit status is different from the argument, it raises Failure mes

val force_lines : output SpotStream.t -> string list
val force_stdout : output SpotStream.t -> string list
val force_stderr : output SpotStream.t -> string list
val print : output SpotStream.t -> unit
OCaml

Innovation. Community. Security.