RunExecutableListener didn't wait if configured: SOLR-198

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@523757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2007-03-29 16:09:25 +00:00
parent 205ede4369
commit 8e21217939
2 changed files with 4 additions and 1 deletions

View File

@ -209,6 +209,9 @@ Bug Fixes
option to specify a full path to the update url, overriding the
"-h" (hostname), "-p" (port) and "-w" (webapp name) parameters.
(Jeff Rodenburg via billa)
10. SOLR-198: RunExecutableListener always waited for the process to
finish, even when wait="false" was set. (Koji Sekiguchi via yonik)
Other Changes
1. Updated to Lucene 2.1

View File

@ -56,7 +56,7 @@ class RunExecutableListener extends AbstractSolrEventListener {
dir = new File(str);
}
if ("false".equals(args.get("wait"))) wait=false;
if ("false".equals(args.get("wait")) || Boolean.FALSE.equals(args.get("wait"))) wait=false;
}
protected int exec(String callback) {