Trim output

This commit is contained in:
Aleksey Kladov 2020-02-14 18:59:26 +01:00
parent 3f675179e5
commit cd956a191f

@ -113,7 +113,7 @@ fn run_process_inner(cmd: &str, echo: bool) -> Result<String> {
bail!("{}", output.status)
}
Ok(stdout)
Ok(stdout.trim().to_string())
}
// FIXME: some real shell lexing here