1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-17 11:54:33 +01:00

Merge pull request #3410 from Chris--A/test_url

Fix missing trailing parameters when opening URL's (WIN)
This commit is contained in:
Federico Fissore 2015-06-25 09:54:10 +02:00
commit edd6999a86

View File

@ -126,7 +126,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