mpv/test
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
..
ref test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
chmap.c
gl_video.c
img_format.c video: clean up pixel metadata stuff some more 2020-05-20 18:38:15 +02:00
input-gamepad.conf
json.c
linked_list.c
paths.c path: add mp_path_is_absolute() 2020-02-06 14:14:35 +01:00
repack.c test: update to new ffmpeg pixfmts 2020-06-17 19:43:09 +02:00
scale_sws.c
scale_test.c video: clean up some imgfmt related stuff 2020-05-18 01:54:59 +02:00
scale_test.h
scale_zimg.c zimg: add slice threading and use it by default 2020-07-15 22:59:17 +02:00
subtimes.js
tests.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
tests.h video: separate repacking code from zimg and make it independent 2020-05-09 18:02:57 +02:00