Skip to main content

exec_shell_command

Function exec_shell_command 

Source
pub async fn exec_shell_command(cmd: &str) -> Result<String>
Expand description

Execute a shell command, returning stdout (or stderr if stdout is empty).