8 lldb = os.path.join(os.path.dirname(__file__), 'lldb')
10 info_json = subprocess.run([lldb, "-l", "python", "-print-script-interpreter-info"],
11 check=True, stdout=subprocess.PIPE, encoding='utf8').stdout
12 info = json.loads(info_json)
14 os.environ["PYTHONPATH"] = (
15 info["lldb-pythonpath"] + os.path.pathsep + os.environ.get("PYTHONPATH", ""))
17 os.execl(info["executable"], info["executable"], *sys.argv[1:])