aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/subprocess-posix.c
Commit message (Collapse)AuthorAge
* subprocess-posix: always connect stdin to /dev/nullGravatar wm42015-04-15
| | | | | | | | It appears youtube-dl sometimes asks for a password on stdin. This won't work, because mpv already uses the terminal. (I wonder if this could be simpler, like simply closing FD 0, but let's not. The FD would be reused by something random.)
* osdep/subprocess-posix: remove __GLIBC__ guardGravatar Kevin Mitchell2015-02-03
| | | | | It's the wrong thing to check. For example it doesn't work on cygwin. Just live with the warning.
* subprocess: allow disabling redirection of stdout/stderrGravatar wm42015-01-01
| | | | | | | | | If the stdout or stderr write callback is NULL, then don't redirect this stream. Preparation for the next commit. Not sure what to do on Windows; it seems STARTUPINFO doesn't allow redirection only one of them. So just let them write nothing. For our intended use-case (next commit), this is probably sensible.
* subprocess: minor cosmetic cleanupGravatar wm42014-11-22
| | | | | Don't recursively include the whole stream.h header; only include what's minimally needed, and handle the rest with forward declarations.
* lua: subprocess: move to osdep/subprocess-{win,posix}.cGravatar James Ross-Gowan2014-11-22
The subprocess code was already split into fairly general functions, separate from the Lua code. It's getting pretty big though, especially the Windows-specific parts, so move it into its own files.