1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-20 10:17:31 +00:00
mpv/DOCS/man
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
..
af.rst audio: redo video-sync=display-adrop 2020-05-23 04:04:46 +02:00
ao.rst audio: redo internal AO API 2020-06-01 01:08:16 +02:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use hidpi scale reporting 2019-12-20 13:00:39 +01:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst command: extend subprocess command 2020-07-20 21:02:17 +02:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst DOCS: js: minor update for require 2020-02-07 19:24:00 +02:00
libmpv.rst
lua.rst documentation: fix some ReST syntax mistakes in lua.rst 2020-05-01 20:48:51 +02:00
mpv.rst x11: remove terrible xdg-screensaver hack 2020-07-08 22:45:07 +02:00
options.rst zimg: add slice threading and use it by default 2020-07-15 22:59:17 +02:00
osc.rst osc: use default hr-seek when dragging progress bar to seek 2020-02-28 17:17:42 +01:00
stats.rst stats: UP/DOWN scrolling on page 2 (frame stats) 2020-05-17 20:11:50 +02:00
vf.rst video: add alpha type metadata 2020-04-24 14:41:50 +02:00
vo.rst vo_direct3d: rip out texture video rendering path 2020-05-13 22:19:00 +02:00