diff options
author | wm4 <wm4@nowhere> | 2018-05-13 13:48:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | 7428cc51496ca8e56600fdc4034b8f55720f09f9 (patch) | |
tree | 4e09e1818b2e60ccf1db3b1ba04cb227275a658f /DOCS/man | |
parent | 4e05f75261d997cfc48227f5ac1ab8f18101c437 (diff) | |
download | mpv-7428cc51496ca8e56600fdc4034b8f55720f09f9.tar.bz2 mpv-7428cc51496ca8e56600fdc4034b8f55720f09f9.tar.xz |
client API: kill async commands on termination
This affects async commands started by client API, commands with async
capability run in a sync way by client API (think mpv_command_node()
with "subprocess"), and detached async work.
Since scripts might want to do some cleanup work (that might involve
launching processes, don't ask), we don't unconditionally kill
everything on exit, but apply an arbitrary timeout of 2 seconds until
async commands are aborted.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/input.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index cadf515567..4b5ebffd0f 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -365,6 +365,9 @@ List of Input Commands This command can be asynchronously aborted via API. + In all cases, the subprocess will be terminated on player exit. Only the + ``run`` command can start processes in a truly detached way. + ``quit [<code>]`` Exit the player. If an argument is given, it's used as process exit code. |