Module Spawn.Async

Parameters

module ML : MainLoopModel

Signature

type process
type callback = ML.condition list -> read_all:(unit -> string) -> bool
val spawn : ?prefer_sock:bool -> ?env:string array -> string -> string array -> callback -> process * Stdlib.out_channel
include Control with type handle = process
type handle = process
val kill : handle -> unit
val wait : handle -> Unix.process_status
val unixpid : handle -> int
val uid : handle -> string
val is_alive : handle -> bool