Update external spawn (#406)

* Simplify external spawn, improve arg cleaning

* Fix tests

* Fix windows test
This commit is contained in:
JT
2021-12-03 09:55:16 +13:00
committed by GitHub
parent ff673ba0ba
commit ccd5f59314
2 changed files with 65 additions and 16 deletions

View File

@ -56,9 +56,9 @@ fn fail_test(input: &str, expected: &str) -> TestResult {
fn not_found_msg() -> &'static str {
if cfg!(windows) {
"not recognized"
"cannot find"
} else {
"not found"
"No such"
}
}