Mojira Archive
MCL-3479

--workDir argument is not being escaped when passed to JRE

Launcher is displaying blank screen when receiving a --workDir argument with a space in the path. The argument is being passed into the native launcher with quotes: (e.g. --workDir "C:\users\Greg Lary\Minecraft\"). See attached nativelog.txt

What I expected to happen was...:
That the native launcher would relay to the --workDir argument to the JRE with quotes around the path.

What actually happened was...:
When the native launcher invokes the JRE to execute the launcher application, no quotes are applied to the parameter leading to a malformed launch environment.

Steps to Reproduce:
1. Install native launcher in a folder with a space in it
2. Execute minecraft.exe in the form of:
minecraft.exe --workDir "C:\users\long name\Documents\Minecraft". See attached nativelog.txt

Incomplete

Greg Lary

2015-02-26, 04:53 PM

2018-04-26, 06:40 PM

2018-04-26, 06:40 PM

0

2

Unconfirmed

1.6.11

-