Skip to main content

run_shell_command

Function run_shell_command 

Source
pub fn run_shell_command(command_str: &str) -> Result<(), Error>
Expand description

Executes a shell command and returns an error if it fails.

ยงErrors

Returns an error if the command fails to execute or returns a non-zero exit status.