diff options
author | wm4 <wm4@nowhere> | 2015-01-01 20:04:38 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:16 +0900 |
commit | 85f54ce5d0d5d1733bb2029ed43bcbd2bac3e22b (patch) | |
tree | 02eef286ef488e2eee469bec3ea2b132bc2eaf70 /wscript | |
parent | c473688c5f4177295d7e6f8c67148ded70b77e2e (diff) | |
download | mpv-85f54ce5d0d5d1733bb2029ed43bcbd2bac3e22b.tar.bz2 mpv-85f54ce5d0d5d1733bb2029ed43bcbd2bac3e22b.tar.xz |
subprocess: allow disabling redirection of stdout/stderr
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.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions