package tezt
Module Tezt_core.Process_hooksSource
Process hooks.
Hooks are typically used for regression tests.
Source
type t = {on_log : string -> unit;(*A hook that is called with every line that is being logged.
*)on_spawn : string -> string list -> unit;(*A hook that is called whenever a process is being spawned. The first parameter is the command and the second are its arguments.
*)
}Hooks attached to external processes.