Traceback (most recent call last):
File "1.py", line 348, in on_888
File "os.py", line 986, in popen
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 908, in _get_handles
OSError: [WinError 6] 句柄无效。
os.popen(r'"cmd /c start /wait \\IP\t\p.exe"','w') 时报上面的错
os.popen(r'"cmd /c start /wait \\IP\t\p.exe"','w',1) 时报上面的错
os.popen(r'"cmd /c start /wait \\IP\t\p.exe"','r',1) 时报下面的错
os.popen(r'"cmd /c start /wait \\IP\t\p.exe"','r') 时报下面的错
File "os.py", line 980, in popen
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 890, in _get_handles
OSError: [WinError 6] 句柄无效。
请问该如何解决
问题来自 OS.SYSTEM 安装软件时条用 shell有一个黑框,想去掉
网友说 os.popen可以解决,但是pyinstaller 打包后出现问题
pycharm测试正常
请大神帮忙解决 谢谢
SMILET
精慕HU
相关分类