mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
If a process was started with `-m` key (and converted to `--module` flag), this parameter will be passed to all its child processes. So we need to clear this flag in SetupHolder before patching arguments GitOrigin-RevId: 00ae0b23fc6107bee75272a03a5bd15ca474fbc7
9 lines
200 B
Python
9 lines
200 B
Python
from __future__ import print_function
|
|
import os
|
|
import subprocess
|
|
import sys
|
|
|
|
ret = subprocess.call([os.path.abspath(sys.executable), "-m", "test_subprocess"])
|
|
|
|
print("Module returned code %d" % ret)
|