Co-authored-by: Joshua Nelson <github@jyn.dev>
This commit is contained in:
J Haigh 2023-01-01 14:36:11 -07:00 committed by GitHub
parent d7cac976dc
commit e62258ebf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ use std::process::{Command, Stdio};
pub fn check(bad: &mut bool) {
let result = Command::new("x").arg("--wrapper-version").stdout(Stdio::piped()).spawn();
// This runs the command inside a temporarily directory.
// This runs the command inside a temporary directory.
// This allows us to compare output of result to see if `--wrapper-version` is not a recognized argument to x.
let temp_result = Command::new("x")
.arg("--wrapper-version")