From a6fb4abb75ef643422a8194ef83e8f6bc30ce35e Mon Sep 17 00:00:00 2001 From: rramthun Date: Mon, 7 May 2007 19:41:37 +0000 Subject: *) workaround for "busy waiting" in Windows-platform startscripts git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3683 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- startYACY.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/startYACY.bat b/startYACY.bat index ba0d7365b..701b96d87 100644 --- a/startYACY.bat +++ b/startYACY.bat @@ -36,6 +36,8 @@ start "YaCy" %priority% /B /WAIT java %javacmd% -classpath %CLASSPATH% yacy if not exist DATA\yacy.restart GoTo :END :WAIT echo Please wait... +REM 'sleep' five seconds +ping localhost -n 5 >NUL if exist DATA\yacy.running GoTo :WAIT del DATA\yacy.restart -- cgit v1.2.3