Module Spawn.Sync

Parameters

Signature

type process
val spawn : ?prefer_sock:bool -> ?env:string array -> string -> string array -> process * Stdlib.in_channel * 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