mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 02:28:36 +02:00
Update external spawn (#406)
* Simplify external spawn, improve arg cleaning * Fix tests * Fix windows test
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user