# Functions
NewDefaultExecutorOpts returns an ExecutorOpts that will listen to / forward all signals (except SIGCHLD) but will use noop handlers for signal/process events.
NewExecutor returns an executor configured according to opts (after calling opts.Validate()).
# Structs
ExecutorOptions specifies options for creating a new executor.
Handler is composed of a ProcessHandler and SignalHandler.
NoopProcessHandler implements ProcessHandler and does nothing.
NoopSignalHandler implements SignalHandler and does nothing.
ProcessExitedEvent is passed to a ProcessExited handler.
ProcessFailedEvent is passed to a ProcessFailed handler.
ProcessStartEvent is passed to a ProcessStarted handler.
SignalFailedEvent is passed to a SignalFailed handler.
SignalPassedEvent is passed to a SignalPassed handler.
SignalReceivedEvent is passed to a SignalReceived handler.
# Interfaces
An Executor is responsible for executing a command and forwarding signals received by the parent to the spawned process.
ProcessHandler is implemented by clients that would like to subscribe to process-related events (start, exit, etc.).
SignalHandler is implemented by clients that would like to subscribe to signal-related events, specifically when signals are received by panicmon and whether or not they are successfully passed to the child.
# Type aliases
StatusCode represents the exit code of a process.