Closed Onedshow closed 9 months ago
I have found that when the Downloader is started by pythonw, a ffmpeg popup windows will pop in Windows. So I add a startup info setting for Subprocess.popen to fix this problem. The reference is here.
Downloader
pythonw
ffmpeg
Subprocess.popen
I can't test it on windows, but on linux this won't work by your implementation. I added a check that it only applies on windows.
I have found that when the
Downloader
is started bypythonw
, affmpeg
popup windows will pop in Windows. So I add a startup info setting forSubprocess.popen
to fix this problem. The reference is here.