You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
John Hawkinson 00ca755231 [get_exe_version] Do version probes with <&-
When doing version probes for ffmpeg, do the
equivalent of calling it as:

    ffmpeg -version <&-

Where <&- is shell syntax for closing stdin before calling the
program. This is roughly equivalent to </dev/null without actually
opening /dev/null.

This prevents ffmpeg -version from hanging when run in the background.
Fixes #955.

The reason is that ffmpeg tries to manipulate stdin to set up terminal
characteristic, and that causes the kernel to suspend the parent
process (youtube-dl).

Note that closing stdin is achieved by calling subprocess.Popen() with
stdin set to subprocess.PIPE and without passing any input to
Popen.communicate(). This is somewhat subtle.
8 years ago
..
downloader [downloader/common] Remove debug output 8 years ago
extractor [adobepass] PEP 8 8 years ago
postprocessor Revert "[postprocessor/embedthumbnail] Allow mkv to embed thumbnails" 8 years ago
YoutubeDL.py Unify coding cookie 8 years ago
__init__.py Unify coding cookie 8 years ago
__main__.py [refactor] Single quotes consistency 8 years ago
aes.py [aes] Switch to new-style classes 8 years ago
cache.py
compat.py [compat] Fix test_cmdline_umlauts on Python 2.6 8 years ago
jsinterp.py [jsinterp] Relax JS function regex (Closes #9863) 8 years ago
options.py [options] Actually print Adobe Pass options sections in --help 8 years ago
socks.py Fix misspelling 8 years ago
swfinterp.py [compat] Rename struct_(un)pack to compat_struct_(un)pack 8 years ago
update.py [update] Fix youtube-dl.exe updating from arbitrary directory (Closes #2718) 8 years ago
utils.py [get_exe_version] Do version probes with <&- 8 years ago
version.py release 2016.10.21.1 8 years ago