Reactor.Process.Step.ProcessExit (reactor_process v0.4.2)

View Source

A Reactor step which sends an exit signal to the process.

When the wait_for_exit? option is true the step will monitor the process until it exits or times out.

Arguments

  • :process (pid/0) - Required. The process to terminate

  • :reason (term/0) - Required. The termination reason

  • :timeout (timeout/0) - How long to wait for the process to terminate before timing out The default value is 5000.

Options

  • :wait_for_exit? (boolean/0) - Whether to wait for the process to exit before continuing The default value is false.