package lwt

  1. Overview
  2. Docs
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 Lwt_process.process_none.kill).

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 closes all channels used to communicate with the process

OCaml

Innovation. Community. Security.