Skip to content

Ghidra is a software reverse engineering (SRE) framework

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

adamopolousb4d3f7a89fce
diff --git a/Ghidra/RuntimeScripts/Windows/support/launch.bat b/Ghidra/RuntimeScripts/Windows/support/launch.bat
index 3b2b32964b..6f411de4aa 100644
--- a/Ghidra/RuntimeScripts/Windows/support/launch.bat
+++ b/Ghidra/RuntimeScripts/Windows/support/launch.bat
@@ -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.
)