Open
Description
Describe the bug
I have started Ghidra in PyGhidra mode and verified it by running some commands in the console. I have also disabled Jython as I don't use it. Then, I tried to run some Python script I'm developing from the Scripts Manager and realized that it's still using Jython instead of my Python 3.11 installation.
To Reproduce
- Run Ghidra in PyGhidra mode.
- Disable Jython.
- Create a python script in some directory configured to appear in the Ghidra's Script Manager with only the following lines:
import sys
print("Python version", sys.version)
- Run the script.
- It will print something like the following text, clearly showing that it isn't using PyGhidra but Jython:
('Python version', '2.7.4 (tags/v2.7.4:3f256f4a7, Aug 18 2024, 10:30:53)\n[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]')
Expected behavior
Running my script using my PyGhidra installation, not Jython.
Environment (please complete the following information):
- OS: Ubuntu 22.04.5 LTS
- Java Version: JDK 23
- Ghidra Version: 11.3.1
- Ghidra Origin: Github release