git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5489 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
f1ori 2009-01-13 21:42:00 +00:00
parent d1bace5e4d
commit 7eade3f181

View File

@ -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;