package command_rpc

  1. Overview
  2. Docs

This module exists for testing purposes only. For example, clients can test whether their command-rpc server cleans up after itself properly when a ctrl-c at the command line kills a whole process group, server included.

val kill : t -> Async.Signal.t -> unit

Send a signal to the command-rpc executable.

Note that this has a (very small) race condition where we can send a signal to a reaped pid if the process dies at exactly the right time.

Wait for termination of the command-rpc executable.

OCaml

Innovation. Community. Security.