package spotlib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Spotlib.CommandSource

Sourcetype output = [
  1. | `Err of [ `EOF | `Error of exn | `Read of string ]
  2. | `Out of [ `EOF | `Error of exn | `Read of string ]
]
Sourcemodule Ver1 : sig ... end

This is Ver2

Sourcetype 'a t
Sourceval shell : ?env:string array -> string -> output SpotStream.t t
Sourceval exec : ?env:string array -> string list -> output SpotStream.t t
Sourceval command : 'a t -> string
Sourceval wait : 'a t -> 'a * Unix.process_status
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval lines : output SpotStream.t t -> string list t
Sourceval stdout : output SpotStream.t t -> string list t
Sourceval stderr : output SpotStream.t t -> string list t
Sourceval iter : (output -> unit) -> output SpotStream.t t -> unit t
Sourceval fold : ('a -> 'b -> 'b) -> 'b -> 'a SpotStream.t t -> 'b t
Sourceval void : 'a t -> unit t
Sourceval must_exit_with : int -> ('a * Unix.process_status) -> 'a