Class Lwt_process.process_none
class process_none :
?timeout:float -> ?env:string array -> ?cwd:string ->
?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 terminate : unit
Terminates the process. It is equivalent to kill Sys.sigkill on Unix but also works on Windows (unlike Error a_api: exception Dune__exe__Api.Error("\"process_none\" is not a valid module name")).
method status : Unix.process_status Lwt.t
Threads which wait for the sub-process to exit then returns its exit status
method rusage : Lwt_unix.resource_usage Lwt.t
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 closes all channels used to communicate with the process