Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Class Lwt_process.process_none

class process_none : ?timeout:float -> ?env:string array -> ?stdin:redirection -> ?stdout:redirection -> ?stderr:redirection -> command ->object..end


method pid : int

Pid of the sub-process

method state : state

Return the state of the process

method kill : int -> unit

kill signum sends signum to the process if it is still running

method status : Unix.process_status Lwt.t

Threads which wait for the sub-process to exit then returns its exit status

Threads which wait for the sub-process to exit then returns its resource usages

method close : Unix.process_status Lwt.t

Closes the process and returns its exit status. This close all channels used to communicate with the process