Module Core.Cmd

home of Cmd.t, which is kind of the whole basis of the thing.

In and Out types are mostly just for looking at, not for touching, but they don't bite.

module In : sig ... end
module Out : sig ... end
type ('stdin, 'stdout, 'stderr) t = {
  1. args : string * string array;
  2. stdin : 'stdin In.t;
  3. stdout : 'stdout Out.t;
  4. stderr : 'stderr Out.t;
  5. env : string array;
  6. block : bool;
}

The guts of the Cmd.t in all its glory. You aren't really supposed to touch it, but I didn't make it private, so go ahead and poke at it. I dare you. I'll laugh my ass off when I change it in the next version.

val pp : Stdlib.Format.formatter -> ('a, 'b, 'c) t -> unit

obligatory pretty printer, for your debugging pleasure.

val show : ('a, 'b, 'c) t -> string