-
Notifications
You must be signed in to change notification settings - Fork 141
mingw: support spawning programs with paths containing spacesnames #220
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
Conversation
On some older Windows versions (e.g. Windows 7), the CreateProcessW() function does not really support spaces in its first argument, lpApplicationName. But it supports passing NULL as lpApplicationName, which makes it figure out the application from the (possibly quoted) first argument of lpCommandLine. Let's use that trick (if we are certain that the first argument matches the executable's path) to support launching programs whose path contains spaces. We will abuse the test-fake-ssh.exe helper to verify that this works and does not regress. This fixes git-for-windows#692 Signed-off-by: Johannes Schindelin <[email protected]>
/submit |
Submitted as [email protected] |
This branch is now known as |
This patch series was integrated into pu via git@760d75a. |
This patch series was integrated into pu via git@96cabae. |
This patch series was integrated into pu via git@d7aa2e7. |
This patch series was integrated into next via git@33dd6d0. |
This patch series was integrated into pu via git@24b2a53. |
This patch series was integrated into pu via git@a5194d8. |
This patch series was integrated into next via git@a5194d8. |
This patch series was integrated into master via git@a5194d8. |
Closed via a5194d8. |
This is a patch to support older Windows versions (e.g. Windows 7) better.
I know, I know, Windows 7's End-Of-Life is now less than half a year away, but... I am unsure just how long Git for Windows will support Windows 7 beyond its officially-supported life; We still support Windows Vista, after all, which has been "sun-set" over two years ago.