mpv/osdep
wm4 0279a44d93 command: extend subprocess command
Add env and detach arguments. This means the command.c code must use the
"new" mp_subprocess2(). So also take this as an opportunity to clean up.
win32 support gets broken by it, because it never made the switch to the
newer function.

The new detach parameter makes the "run" command fully redundant, but I
guess we'll keep it for simplicity. But change its implementation to use
mp_subprocess2() (couldn't do this earlier, because win32).

Privately, I'm going to use the "env" argument to add a key binding that
starts a shell with a FILE environment variable set to the currently
playing file, so this is very useful to me.

Note: breaks windows, so for example youtube-dl on windows will not work
anymore. mp_subprocess2() has to be implemented. The old functions are
gone, and subprocess-win.c is not built anymore. It will probably work
on Cygwin.
2020-07-20 21:02:17 +02:00
..
android osdep: remove posix_spawn() helpers and wrappers 2020-05-15 16:37:41 +02:00
macos options: introduce bool option type, use it for --fullscreen 2020-03-14 02:23:38 +01:00
win32 win32: pthread: define PTHREAD_MUTEX_ERRORCHECK 2020-03-19 00:11:23 +01:00
atomic.h atomic: add atomic_exchange_explicit() fallback 2020-03-05 22:00:50 +01:00
compiler.h
endian.h
getpid.h
glob-win.c
io.c io: remove Windows tmpfile() emulation 2019-09-19 20:37:05 +02:00
io.h player: Optionally validate st_mtime when restoring playback state 2019-11-20 15:11:33 +01:00
macOS_swift_bridge.h mac: replace old event tap for media key support with MediaPlayer 2019-12-15 20:07:31 +01:00
macosx_application.h cocoa-cb: add support for forcing the dedicated GPU for rendering 2020-01-26 12:12:22 +01:00
macosx_application.m build: change filenames of generated files 2020-06-04 16:59:05 +02:00
macosx_application_objc.h mac: fix media key support for libmpv users 2020-02-22 13:56:31 +01:00
macosx_compat.h
macosx_events.h mac: remove Apple Remote support 2019-12-15 20:07:31 +01:00
macosx_events.m mac: fix media key support for libmpv users 2020-02-22 13:56:31 +01:00
macosx_events_objc.h mac: fix media key support for libmpv users 2020-02-22 13:56:31 +01:00
macosx_menubar.h
macosx_menubar.m mac: activate logging when started from the bundle 2020-02-08 10:55:07 +01:00
macosx_menubar_objc.h
macosx_touchbar.h
macosx_touchbar.m
macosx_versions.h
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c win32: remove -municode from mpv binary 2019-09-19 20:37:05 +02:00
main-fn.h
mpv.exe.manifest w32_common: Support HiDPI on Windows 2020-05-08 21:46:45 +10:00
mpv.rc build: change filenames of generated files 2020-06-04 16:59:05 +02:00
path-macosx.m
path-unix.c path: switch back to using non-XDG config dir by default 2020-06-25 17:56:16 +02:00
path-uwp.c
path-win.c path: do not use old_home for win32 exe dir 2020-06-25 17:56:16 +02:00
path.h
polldev.c
polldev.h
semaphore.h
semaphore_osx.c
strnlen.h
subprocess-dummy.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess-posix.c osdep: remove confstr() fallback for subprocess spawning 2020-05-25 00:30:35 +03:00
subprocess-win.c
subprocess.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess.h command: extend subprocess command 2020-07-20 21:02:17 +02:00
terminal-dummy.c
terminal-unix.c terminal-unix: add key_entry defs for DECCKM mode 2020-04-15 16:46:25 +02:00
terminal-win.c terminal-win: handle 'Change Window Title' OSC sequence 2020-05-29 19:48:51 +10:00
terminal.h
threads.c build: restore BSD thread names after 9f461b85bf 2020-04-23 13:58:16 +02:00
threads.h osdep: add a pthread debugging wrapper 2020-03-18 22:42:13 +01:00
timer-darwin.c
timer-linux.c
timer-win2.c
timer.c
timer.h
w32_keyboard.c
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c
windows_utils.h