mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Currently -m is removed while package stays in the options. This breaks the process launch.
11 lines
119 B
Python
11 lines
119 B
Python
import runpy
|
|
import sys
|
|
|
|
print(sys.argv)
|
|
|
|
x = 1
|
|
program = sys.argv[1]
|
|
sys.argv = sys.argv[1:]
|
|
|
|
|
|
runpy.run_path(program) |