package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.0.2.tar.gz
sha256=1c4a49f4cffc017fff8a47563653f5a9ed4007bbd6705fd9737a211ff3d864e2
md5=25fbbf9b39c072f9667e6fdfba108556

doc/uwt.ext/Uwt_process/class-process_none/index.html

Class Uwt_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

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