package opam-lib
Module OpamProcess.Job
Higher-level interface to allow parallelism
module Op : sig ... endOpen type and add combinators. Meant to be opened
val run : 'a Op.job -> 'aSequential run of a job
val dry_run : 'a Op.job -> 'aSame as run but doesn't actually run any shell command, and feed a dummy result to the cont.
Ignore all non-fatal exceptions raised by job and return default
Register an exception-safe finaliser in a job. finally job fin is equivalent to catch job (fun e -> fin (); raise e) @@+ fun r -> fin (); Done r
Converts a list of commands into a job that returns None on success, or the first failed command and its result. Unless keep_going is true, stops on first error.