Expand description
Types and functions related to child processes management.
Structs
Command
process-command-api
The type to spawn commands.
CommandChild
process-command-api
Spawned child process.
An encoding as defined in the Encoding Standard.
ExitStatus
process-command-api
Describes the result of a process after it has terminated.
Output
process-command-api
The output of a finished process.
TerminatedPayload
process-command-api
Payload for the
CommandEvent::Terminated
command event.Enums
CommandEvent
process-command-api
A event sent to the command callback.
Functions
Finds the current running binary’s path.
kill_children
process-command-api
Kills all child processes created with
Command
.
By default it’s called before the crate::App
exits.Restarts the currently running binary.