我os.startfile('C:\\test\\sample.exe')用来启动应用程序。我不想知道应用程序的退出状态,我只想启动 exe。
os.startfile('C:\\test\\sample.exe')
我需要将参数传递给那个 exe 就像 'C:\\test\\sample.exe' -color
'C:\\test\\sample.exe' -color
请提出一种在 Python 中运行它的方法。
python
python ×1