run_sh

Function run_sh 

Source
pub fn run_sh(command: &str) -> Result<Output>
Expand description

Executes a shell command and returns its output.

ยงErrors

This function will return an error if:

  • The command fails to execute.
  • There is an error capturing the output or converting it to a UTF-8 string.