summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-12 16:03:04 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commit7f91e2684e8600c45512e36f03aadff0b825a1b0 (patch)
treed17956db6ef353c99b6d4004df026c7288c638c1 /DOCS/man
parent548ef07864f3e1a40f731b2643f037435ceae46d (diff)
downloadmpv-7f91e2684e8600c45512e36f03aadff0b825a1b0.tar.bz2
mpv-7f91e2684e8600c45512e36f03aadff0b825a1b0.tar.xz
lua: reimplement mp.subprocess_detached() by invoking the "run" command
The "run" command is old. I'm not sure why the separate Lua implementation was added. But maybe it as because the "run" command used to be limited to a small number of arguments. This limit has been removed a while ago. In any case, the old implementation is not needed anymore.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/lua.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index ba09164d3b..b2e244b6b5 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -682,6 +682,9 @@ strictly part of the guaranteed API.
The function returns ``nil``.
+ This is a legacy wrapper around calling the ``run`` command with
+ ``mp.commandv`` and other functions.
+
``utils.getpid()``
Returns the process ID of the running mpv process. This can be used to identify
the calling mpv when launching (detached) subprocesses.