Skip to content

Commit edd6999

Browse files
committed
Merge pull request #3410 from Chris--A/test_url
Fix missing trailing parameters when opening URL's (WIN)
2 parents ca6724a + cac568f commit edd6999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/windows/Platform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void openURL(String url) throws Exception {
126126
// open dos prompt, give it 'start' command, which will
127127
// open the url properly. start by itself won't work since
128128
// it appears to need cmd
129-
Runtime.getRuntime().exec("cmd /c start " + url);
129+
Runtime.getRuntime().exec("cmd /c start \"\" \"" + url + "\"");
130130
} else {
131131
// just launching the .html file via the shell works
132132
// but make sure to chmod +x the .html files first

0 commit comments

Comments
 (0)