Expand description
Types representing commands and its settings.
The two most important struct for modeling command is Cmd and CmdOptions.
The first one defines command name and its arguments,
and the second is used to describe additional settings like command’s input/outputs, working directory and environment variables.
Cmd implements Runnable trait, and therefore it can be spawned using ProcessManagerHandle.
Modules§
- builder
- Alternative API for creating
CmdandCmdOptionsstructures.
Structs§
- Buffer
Capacity - Wrapper type used to define buffer capacity.
- Cmd
Cmdrepresents a single command.- CmdOptions
CmdOptionsare used to describe command’s additional settings.
Enums§
- CmdError
- Enum returned from fallible
Cmdmethods. - CmdOptions
Error - Enum returned from fallible
CmdOptionsmethods. - Logging
Type - Enum representing logging type of a spawned process.
- Messaging
Type - Enum representing messaging type of a spawned process.