Fix missing trailing parameters when opening URL's

This commit is contained in:
Chris--A 2015-06-22 19:28:19 +10:00
parent 3076c63c7a
commit cac568f44c
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class Platform extends processing.app.Platform {
// open dos prompt, give it 'start' command, which will
// open the url properly. start by itself won't work since
// it appears to need cmd
Runtime.getRuntime().exec("cmd /c start " + url);
Runtime.getRuntime().exec("cmd /c start \"\" \"" + url + "\"");
} else {
// just launching the .html file via the shell works
// but make sure to chmod +x the .html files first