Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

* remove & from openBrowser command (see http://forum.yacy-websuche.de/viewtopic.php?f=5&t=1728&hilit=#p12321)

f1ori5570fa817b23
diff --git a/source/de/anomic/server/serverSystem.java b/source/de/anomic/server/serverSystem.java
index 64456ded5..a82ae1d3e 100644
--- a/source/de/anomic/server/serverSystem.java
+++ b/source/de/anomic/server/serverSystem.java
@@ -299,11 +299,11 @@ public final class serverSystem {
p.waitFor();
if (p.exitValue() != 0) throw new RuntimeException("EXEC ERROR: " + errorResponse(p));
} else if (systemOS == systemUnix) {
- cmd = app + " -remote openURL(" + url + ") &";
+ cmd = app + " -remote openURL(" + url + ")";
p = Runtime.getRuntime().exec(cmd);
p.waitFor();
if (p.exitValue() != 0) {
- cmd = app + " " + url + " &";
+ cmd = app + " " + url;
p = Runtime.getRuntime().exec(cmd);
// no error checking, because it blocks until firefox is closed
}
diff --git a/startYACY.sh b/startYACY.sh
index 87ff4e2ef..f78f2af61 100755
--- a/startYACY.sh
+++ b/startYACY.sh
@@ -166,7 +166,7 @@ fi
CLASSPATH=""
for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
for N in libx/*.jar; do CLASSPATH="$CLASSPATH$N:"; done
-CLASSPATH="classes:.:htroot:$CLASSPATH"
+CLASSPATH="classes:.:htroot:htroot/api:$CLASSPATH"
cmdline="$JAVA $JAVA_ARGS -Djava.awt.headless=true -classpath $CLASSPATH yacy";
if [ $DEBUG -eq 1 ] #debug