Topkg_os.Cmd
val exists : Topkg_cmd.t -> bool Topkg_result.result
val must_exist : Topkg_cmd.t -> Topkg_cmd.t Topkg_result.result
val run : ?err:Topkg_fpath.t -> Topkg_cmd.t -> unit 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 ]
val success : ('a * run_status) Topkg_result.result -> 'a Topkg_result.result
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