-
Notifications
You must be signed in to change notification settings - Fork 16
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
Launcher does not properly pass through -X properties on Windows #33
Comments
As expected, it does work with cmd.exe. So this is specific to PowerShell. |
The stop-parsing symbol can be used: Or just quote any arguments which contain a dot (or any other special characters): Quoting the dot should actually be enough, but it looks weird. |
@cremno Ahh thank you, that's a neat workaround. |
@cremno Do you know what we should be doing differently in the launcher (C++)? It's incredibly inconvenient that PowerShell processes arguments differently than cmd.exe :-( |
@headius: I think you can't do much (non-hacky) in this case. The command line is always “mangled” since PowerShell does its job before creating the process and passing it. |
PowerShell should be considered for the in-progress rewrite of this launcher. |
This could be some oddity in how powershell passes arguments through to our launcher:
The
.
is improperly being treated as the end of our argument. PowerShell appears to be splitting incoming arguments at.
. I'm not sure how to fix this in the launcher other than detecting we're on PowerShell and de-mangling those arguments :-(This is running from a self-built clone, rather than using installer.
The text was updated successfully, but these errors were encountered: