GP-4620: Fix process termination (esp., on kill)

This commit is contained in:
Dan 2024-05-21 17:34:44 +00:00
parent 587307eefe
commit 121608aeea
3 changed files with 10 additions and 1 deletions

View file

@ -41,6 +41,10 @@ def main():
from ghidradbg import commands as cmd
from ghidradbg.util import dbg
# So that the user can re-enter by typing repl()
global repl
repl = cmd.repl
cmd.ghidra_trace_connect(os.getenv('GHIDRA_TRACE_RMI_ADDR'))
args = os.getenv('OPT_TARGET_ARGS')
if args: