mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +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:
commit
edd6999a86
@ -126,7 +126,7 @@ public class Platform extends processing.app.Platform {
|
|||||||
// open dos prompt, give it 'start' command, which will
|
// open dos prompt, give it 'start' command, which will
|
||||||
// open the url properly. start by itself won't work since
|
// open the url properly. start by itself won't work since
|
||||||
// it appears to need cmd
|
// it appears to need cmd
|
||||||
Runtime.getRuntime().exec("cmd /c start " + url);
|
Runtime.getRuntime().exec("cmd /c start \"\" \"" + url + "\"");
|
||||||
} else {
|
} else {
|
||||||
// just launching the .html file via the shell works
|
// just launching the .html file via the shell works
|
||||||
// but make sure to chmod +x the .html files first
|
// but make sure to chmod +x the .html files first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user