-
Notifications
You must be signed in to change notification settings - Fork 31
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 doesn't support spaces in arguments #8
Comments
Qute is also a bad idea because it produces exploding amount of escaped quotes |
Well, at least quoting works, just putting spaces doesn't. win32's |
quoting doesn't work, we have tested it with single argument on windows 10 |
My bad, I though it worked. That's strange, maybe only quoting arguments that contain a space can solve this issue? |
Yah, that should work. |
There is no need to quote the arguments. I tested windows 7,10 and both are accepting arguments with spaces. Only the path to executable should be quoted if contain spaces and this is already treated properly. |
I don't think so. |
yes, but the windows will send all arguments to go program and e.g. |
When I talk about spaces in arguments, I talk about something like args := []string{"--log-level", "debug", "--display-name", "Mitsuha Miyamizu"} |
I think the arguments should be used like this
and the users should think about this. |
Nope, for two reasons. First, arguments in a Also, the macOS actually uses a config file like this: <argument>--log-level</argument>
<argument>debug</argument>
<argument>--display-name</argument>
<argument>"Mitsuha Miyamizu"</argument> And the program will be spawned with |
No description provided.
The text was updated successfully, but these errors were encountered: