-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Command regression - broken paths #95178
Comments
Ah, this was caused by the switch to using verbatim paths (aka std::process::Command::new("cmd")
.args(["/c", r"folder\echo.bat"])
.arg("hello")
.status()
.unwrap() The ultimate fix will be to properly support running script files. But it should be possible to fix this specific issue in the meantime. |
I'm not sure not being able to run scripts is exactly the case as I've run into this issue initially while trying to invoke |
The problem might be on |
|
I cannot quickly reproduce this locally but I suspect that's another (though related) issue. Some applications may not be able to cope with
Yes, if you pass in just |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
Looks like |
Code
I tried this code:
where
folder/echo.bat
isI expected to see this happen:
Instead, this happened:
Version it worked on
rustc --version --verbose
:(aka
nightly-2022-03-19
)Version with regression
rustc --version --verbose
:(aka
nightly-2022-03-20
)The text was updated successfully, but these errors were encountered: