Up

Module Job

Signature

exception Shutdown
type t = Db.Job.t
val compare : t -> t -> int
val sexp_of_t : t -> Sexplib.Sexp.t
val create : dir:Path.t -> prog:string -> args:string list -> ignore_stderr:bool -> t
val bracket : t -> sh_prelude:string -> sh_postlude:string -> t
val to_sh_ignoring_dir : t -> string
val dir : t -> Path.t
module Output : sig .. end
val run : t -> need:string -> putenv:(string * string option) list -> output:'a Output.t -> ('a, [
| `command_failed of Job_summary.t
| `other_error of exn
]) Core.Std.Result.t Async.Std.Deferred.t