Expand description
Helpers around tokio::process::Command.
Functions§
- execute
- Executes a command making sure it’s successful.
- exit_
status - Executes a command exiting with the same error code on error.
- output
- Executes the command making sure it’s successful and returns its output.
- output_
line - Executes the command making sure it’s successful and returns exactly one line.
- replace
- Replaces the current program with the command.
- spawn
- Spawns a command.
- status
- Executes a command returning its error code.