problem
Traceback (most recent call last):
File "rtmp.py", line 26, in <module>
pipe = subprocess.Popen(command, shell=False, stdin=subprocess.PIPE)
File "D:\software\developUtils\python\python3.7\lib\subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "D:\software\developUtils\python\python3.7\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
Solution
- Find subprocess.py in the lib folder
- Search for class Popen(object):
- Modify shell=False in __init__ to shell=True