Module Topkg_os.Cmd

val exists : Topkg_cmd.t -> bool Topkg_result.result
val run_status : ?err:Topkg_fpath.t -> Topkg_cmd.t -> [ `Exited of int ] Topkg_result.result
type run_status = Topkg_cmd.t * [ `Exited of int ]
type run_out
val out_string : ?trim:bool -> run_out -> (string * run_status) Topkg_result.result
val out_lines : ?trim:bool -> run_out -> (string list * run_status) Topkg_result.result
val out_file : Topkg_fpath.t -> run_out -> (unit * run_status) Topkg_result.result
val out_stdout : run_out -> (unit * run_status) Topkg_result.result
val to_string : ?trim:bool -> run_out -> string Topkg_result.result
val to_lines : ?trim:bool -> run_out -> string list Topkg_result.result
val to_file : Topkg_fpath.t -> run_out -> unit Topkg_result.result
val run_out : ?err:Topkg_fpath.t -> Topkg_cmd.t -> run_out