diff options
author | wm4 <wm4@nowhere> | 2020-02-16 21:27:34 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-16 21:27:34 +0100 |
commit | 92fee4ebc4852f023527dc64b28e5b10e4507053 (patch) | |
tree | 4d4e8c72a52384689cd7531132dbc3d861571661 /misc/json.h | |
parent | a4b12c54b64f31e005adb8b07d7c45876e91f0f5 (diff) | |
download | mpv-92fee4ebc4852f023527dc64b28e5b10e4507053.tar.bz2 mpv-92fee4ebc4852f023527dc64b28e5b10e4507053.tar.xz |
subprocess: change to a fancier API
Introduce mp_subprocess() and related definitions. This is a bit more
flexible than the old stuff. This may or may not be used for a more
complicated feature that involves starting processes, and which would
require more control.
Only port subprocess-posix.c to this API. The player still uses the
"old" API, so for win32 and dummy implementations, the new API is simply
not available, while for POSIX, the old APIs are emulated on top of the
new one. I'm hoping the win32 code can be ported as well, so the ifdefs
in subprocess.c can be dropped, and the player can (if convenient or
needed) use the new API.
Diffstat (limited to 'misc/json.h')
0 files changed, 0 insertions, 0 deletions