pub fn run(
command: &str,
input: Option<String>,
envs: Vec<(&str, &str)>,
) -> Result<String>
Expand description
Runs the given OS command and returns the output as string.
Use input
parameter to specify a text to write to stdin.
Environment variables are set accordingly to envs
.