From d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 12 May 2018 15:14:07 +0200 Subject: 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. --- DOCS/man/input.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS/man/input.rst') 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 -- cgit v1.2.3