Bob.jar cannot run from path with spaces


#1

Here’s what happens: (bob.jar 1.2.142, Windows 10, from Git Bash):

$ "/c/Users/Critique Gaming/Work/Defold/packages/jre/bin/java" "-Djava.ext.dirs=/c/Users/Critique Gaming/Work/Defold/packages/jre/lib/ext" -jar "/c/Users/Critique Gaming/Work/Defold/bob.jar" -i "/c/Users/Critique Gaming/Work/Interrogation" --email foo@bar.com --auth 12345 resolve
 2147483647%Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Critique%20Gaming\Work\Defold\bob.jar (The system cannot find the path specified)
        at com.dynamo.bob.ClassLoaderResourceScanner.scan(ClassLoaderResourceScanner.java:88)
        at com.dynamo.bob.fs.ClassLoaderMountPoint.walk(ClassLoaderMountPoint.java:95)
        at com.dynamo.bob.fs.AbstractFileSystem.walk(AbstractFileSystem.java:96)
        at com.dynamo.bob.Project.findSources(Project.java:1228)
        at com.dynamo.bob.Bob.createProject(Bob.java:343)
        at com.dynamo.bob.Bob.main(Bob.java:391)
Caused by: java.io.FileNotFoundException: C:\Users\Critique%20Gaming\Work\Defold\bob.jar (The system cannot find the path specified)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:219)
        at java.util.zip.ZipFile.<init>(ZipFile.java:149)
        at java.util.jar.JarFile.<init>(JarFile.java:166)
        at java.util.jar.JarFile.<init>(JarFile.java:103)
        at com.dynamo.bob.ClassLoaderResourceScanner.scanJar(ClassLoaderResourceScanner.java:56)
        at com.dynamo.bob.ClassLoaderResourceScanner.scan(ClassLoaderResourceScanner.java:84)
        ... 5 more