-
Notifications
You must be signed in to change notification settings - Fork 29
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 files support #95
base: master
Are you sure you want to change the base?
Conversation
I don't think we should use cmd for spawning any command, only the bat scripts. So, what needs to happen here I think is a lookup in path, and, if that returns a bat, spawning a cmd. |
There are two problems:
That is why I think it's better to always use cmd on Windows. |
We should repeat the exact logic that rust stdlib does here
This shouldn't work, like something like |
or, as an alternative, we can invert the logic: look up the command, if it is an exe, run it, otherwise use |
It turned out that the rust stdlib can already run command files correctly via |
Fixes #82,
BTW, there are some test failures on Windows (at least on my machine):
this MR does not fix them