changed "find" command to "findstr" in windows launcher

This commit is contained in:
adamopolous 2020-03-04 18:08:34 -05:00
parent ddc63770b9
commit b4d3f7a89f

View file

@ -170,7 +170,7 @@ if "%BACKGROUND%"=="y" (
REM without the PID of the thing we launched, it's the best we can do (maybe use WMI?).
REM Worst case, they just won't see the error message.
timeout /NOBREAK 1 > NUL
tasklist | find "javaw" > NUL
tasklist | findstr "javaw" > NUL
if not "!ERRORLEVEL!"=="0" (
echo Exited with error. Run in foreground ^(fg^) mode for more details.
)