f1ori 16 years ago
parent d1bace5e4d
commit 7eade3f181

@ -303,9 +303,8 @@ public final class serverSystem {
if (p.exitValue() != 0) {
cmd = app + " " + url + " &";
p = Runtime.getRuntime().exec(cmd);
p.waitFor();
// no error checking, because it blocks until firefox is closed
}
if (p.exitValue() != 0) throw new RuntimeException("EXEC ERROR: " + errorResponse(p));
} else if (systemOS == systemWindows) {
// see forum at http://forum.java.sun.com/thread.jsp?forum=57&thread=233364&message=838441
if (System.getProperty("os.name").contains("2000")) cmd = "rundll32 url.dll,FileProtocolHandler " + url;

Loading…
Cancel
Save