mpv/player
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
..
javascript js: mp.set_osd_ass: ignore identical inputs (match ccbb8b1c) 2020-05-10 21:20:28 +03:00
lua lua: windows got what users crave 2020-05-27 15:01:39 +02:00
audio.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
client.c
client.h
command.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
command.h
configfiles.c player: warn if both proper and compat. config directories exist 2020-06-25 17:56:16 +02:00
core.h player: add --term-title option 2020-05-25 20:39:37 +02:00
external_files.c
external_files.h
javascript.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00
loadfile.c
lua.c build: fix another breakage 2020-06-04 20:43:37 +02:00
main.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00
misc.c
osd.c player: add --term-title option 2020-05-25 20:39:37 +02:00
playloop.c player: make unpausing directly after seek work with --keep-open (again) 2020-06-10 11:44:47 +02:00
screenshot.c
screenshot.h
scripting.c player: fix outdated comment 2020-07-09 12:26:54 +02:00
sub.c command: add property to return text subtitles in ASS 2020-05-14 22:14:49 +02:00
video.c player: remove some display-adrop leftovers 2020-05-23 04:24:04 +02:00