package lwt

  1. Overview
  2. Docs
Promises and event-driven I/O

Install

Dune Dependency

Authors

Maintainers

Sources

5.5.0.tar.gz
md5=94272fac89c5bf21a89c102b8a8f35a5
sha512=8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1

doc/lwt.unix/Lwt_process/class-process_none/index.html

Class Lwt_process.process_none

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 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.