- Timestamp:
- 2018-10-27T12:04:46+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r14316 r14368 205 205 @Override 206 206 public void openUrl(String url) throws IOException { 207 Runtime.getRuntime().exec( "open " + url);207 Runtime.getRuntime().exec(new String[]{"open", url}); 208 208 } 209 209 -
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r14273 r14368 188 188 @Override 189 189 public void openUrl(String url) throws IOException { 190 Runtime.getRuntime().exec( "rundll32 url.dll,FileProtocolHandler " + url);190 Runtime.getRuntime().exec(new String[]{"rundll32", "url.dll,FileProtocolHandler", url}); 191 191 } 192 192
Note:
See TracChangeset
for help on using the changeset viewer.