Module cmd

Module cmd 

Source
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.