Open infinitesteps opened 1 month ago
When running analyzeHeadless from the command line (at least on macOS) a GUI is launched and steals UI focus. For batch scripting this is undesirable. I have added the following to analyzeHeadless and it works much better:
VMARG_LIST="$VMARG_LIST -Djava.awt.headless=true"
https://github.com/NationalSecurityAgency/ghidra/blob/2eb39242f9c2c37df796c66b2830f9aa48bfb034/Ghidra/RuntimeScripts/Linux/support/analyzeHeadless#L22
We used to have this. I forget why we took it out.
When running analyzeHeadless from the command line (at least on macOS) a GUI is launched and steals UI focus. For batch scripting this is undesirable. I have added the following to analyzeHeadless and it works much better:
https://github.com/NationalSecurityAgency/ghidra/blob/2eb39242f9c2c37df796c66b2830f9aa48bfb034/Ghidra/RuntimeScripts/Linux/support/analyzeHeadless#L22