Sourcetype t = {cmd : string list;time : float;output_file : Fpath.t option;output : string;errors : string;status : [ `Exited of int | `Signaled of int ];
} Sourceval run :
< process_mgr : [> [> `Generic ] Eio.Process.mgr_ty ] Eio.Process.mgr.. > ->
Bos.Cmd.t ->
Fpath.t option ->
t Return the list of executed commands where the first argument was cmd.
Print an executed command and its time.
Sourceval filter_commands : string -> t list Sourceval k_longest_commands : string -> int -> t list Returns the k commands that took the most time for a given subcommand.