-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
std::process::Command
doesn't execute .COM files on Windows
#42553
Comments
That code is only used when a custom
Perhaps what you really want is Related issue #37380 |
If |
Given the current stance of |
This is basically a dupe of item 2 of #37519. |
Ah ok, thanks @ollie27! I'll close in favor of that isue then. |
Even though I agree that we are replicating the behavior of We might have two options: Extend
|
@afiune What you really want is a wrapper around |
Hello!
(This is probably just another case of #37380)
I'm working on #32665 and my implementation uses default pager executables depending on the platform. (
less
for *nix,more
for Windows)I spawn pager process like this
And that fails to run on Windows 10 due to this line: src/libstd/sys/windows/process.rs#L145
Since
more
is actuallymore.com
, it needs to be executed with a different suffix than hardcoded.exe
There was a note about
CreateProcess
from @afiune but I don't know how that relates.Thanks a lot!
cc @Mark-Simulacrum, @alexcrichton
The text was updated successfully, but these errors were encountered: