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 API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
command.h command: use client IDs for hooks 2020-03-26 23:40:25 +01:00
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 player: make external subtitle auto-loading stricter 2020-05-09 23:31:33 +02:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00
loadfile.c player: remove duplicated track option setter code 2020-04-15 17:10:01 +02:00
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 player: slightly improve use of secondary track selection limits 2020-04-15 17:04:00 +02:00
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: fix typo in comment 2020-02-07 13:42:42 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
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