reactiverse / es4x

🚀 fast JavaScript 4 Eclipse Vert.x
https://reactiverse.io/es4x/
Apache License 2.0
881 stars 75 forks source link

Cannot Resolve the CWD error when path contains spaces in windows #590

Closed bkoripalli closed 2 years ago

bkoripalli commented 2 years ago

Running my application from Program Files my app crashed with below error due to space in CWD.

error:java.lang.IllegalArgumentException: Cannot resolve the CWD Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:///C:/Program Files/RESTService/bin/ -> at java.base/java.net.URI$Parser.fail(URI.java:2913) -> at java.base/java.net.URI$Parser.checkChars(URI.java:3084) -> at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3166) -> at java.base/java.net.URI$Parser.parse(URI.java:3114) -> at java.base/java.net.URI.(URI.java:600) -> at io.reactiverse.es4x.impl.Utils.fileToURI(Utils.java:98) -> ... 31 common frames omitted ->

pmlopes commented 2 years ago

Fixed by #591