diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-10-20 21:49:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 21:49:40 +0530 |
commit | d3c93ec2b7f5bcb872b0afb169efaa2f1abdf6e2 (patch) | |
tree | 47b35a228e28d3b562c6b43707c3fb967178083a /yt_dlp/downloader/rtmp.py | |
parent | b4b855ebc7fac536a85f087f6921df69dec4e470 (diff) |
Don't create console for subprocesses on Windows (#1261)
Closes #1251
Diffstat (limited to 'yt_dlp/downloader/rtmp.py')
-rw-r--r-- | yt_dlp/downloader/rtmp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/downloader/rtmp.py b/yt_dlp/downloader/rtmp.py index 6dca64725..90f1acfd4 100644 --- a/yt_dlp/downloader/rtmp.py +++ b/yt_dlp/downloader/rtmp.py @@ -12,6 +12,7 @@ from ..utils import ( encodeFilename, encodeArgument, get_exe_version, + Popen, ) @@ -26,7 +27,7 @@ class RtmpFD(FileDownloader): start = time.time() resume_percent = None resume_downloaded_data_len = None - proc = subprocess.Popen(args, stderr=subprocess.PIPE) + proc = Popen(args, stderr=subprocess.PIPE) cursor_in_new_line = True proc_stderr_closed = False try: |