Ghidra is a software reverse engineering (SRE) framework
GP-6077: ghidraRun.bat now preserves the user's existing environment variables (Closes #8578)
Ryan Kurtz4b1fd225467d
diff --git a/Ghidra/RuntimeScripts/Windows/support/launch.bat b/Ghidra/RuntimeScripts/Windows/support/launch.batindex ca6b5d94f8..92f5ffddbb 100644--- a/Ghidra/RuntimeScripts/Windows/support/launch.bat+++ b/Ghidra/RuntimeScripts/Windows/support/launch.bat@@ -217,7 +217,7 @@ set CMD_ARGS=%FORCE_JAVA_VERSION% %JAVA_USER_HOME_DIR_OVERRIDE% %VMARG_LIST% -cpif "%BACKGROUND%"=="y" (set JAVA_CMD=!JAVA_CMD!w- start "%APPNAME%" /I /B "!JAVA_CMD!" %CMD_ARGS%+ start "%APPNAME%" /B "!JAVA_CMD!" %CMD_ARGS%REM If our process dies immediately, output something so the user knows to run in debug mode.REM Otherwise they'll never see any error output from background mode.