Files
openide/python/testData/debug/test_call_exec_with_python_arg.py
Egor Eliseev 7ec061b418 PY-37311 Patch interpreter command for Python 2
IJ-CR-26283

GitOrigin-RevId: 24575b5177831685d56f66c5546800c66553bd19
2022-09-07 12:39:17 +00:00

6 lines
83 B
Python

import os
import sys
args = ['python', 'test4.py']
os.execv(sys.executable, args)