summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-12 15:14:07 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commitd9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b (patch)
tree28e21cbff4d4e102696c0416045973e7d851bdbf /DOCS/man/input.rst
parent1aae88b4879f40c68cebbdcd47895787ecdcdf68 (diff)
downloadmpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.bz2
mpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.xz
command: add a subprocess command
This supports named arguments. It benefits from the infrastructure of async commands. The plan is to reimplement Lua's utils.subprocess() on top of it.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 567d2e0de8..6d05c5fc5d 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -305,6 +305,11 @@ List of Input Commands
command line arguments following. This is just like the ``run`` command
argument list.
+ The first array entry is either an absolute path to the executable, or
+ a filename with no path components, in which case the ``PATH``
+ environment variable. On Unix, this is equivalent to ``posix_spawnp``
+ and ``execvp`` behavior.
+
``playback_only`` (``MPV_FORMAT_FLAG``)
Boolean indicating whether the process should be killed when playback
terminates (optional, default: yes). If enabled, stopping playback