Module Ketrew.EDSL.Program

module Program: sig .. end
Build “things to run”, i.e. shell scripts on steroids.

type t = Ketrew_pure.Program.t 
Something to run is a Ketrew.EDSL.Program.t.
val sh : string -> t
Create a program that runs a shell command.
val shf : ('a, unit, string, t) Pervasives.format4 -> 'a
Printf-like function to create shell commands.
val exec : string list -> t
Create a program that run in Unix.exec mode (i.e. does not need shell escaping).
val (&&) : t -> t -> t
a && b is a program than runs a then b iff a succeeded.
val chain : t list -> t
Chain a list of programs like with &&.