Function run_cmd

Source
pub async fn run_cmd(cmd: &str, maybe_workdir: Option<&Path>) -> Result<String>
Expand description

Run a shell command in a container.

ยงErrors

Will return an error if there was a problem while running the command.