package mirage-qubes

  1. Overview
  2. Docs
type t
val write : t -> string -> [ `Ok of unit | `Eof ] Lwt.t

Write to stdin

val writef : t -> ('a, unit, string, [ `Ok of unit | `Eof ] Lwt.t) Stdlib.format4 -> 'a

Write to stdin

val read : t -> [ `Stdout of string | `Stderr of string | `Eof | `Exit_code of int32 ] Lwt.t

Read from stdout and stderr

OCaml

Innovation. Community. Security.