From b2d048440472c8b22abd1945e9ca2cfdfd27f2d0 Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Wed, 19 Nov 2014 17:58:34 +1100 Subject: [PATCH] manpage: update utils.subprocess() for Windows --- DOCS/man/lua.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index e01754b3ef..e09792a277 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -562,8 +562,6 @@ strictly part of the guaranteed API. Runs an external process and waits until it exits. Returns process status and the captured output. - This function is not available on Microsoft Windows. - The paramater ``t`` is a table. The function reads the following entries: ``args`` @@ -595,6 +593,9 @@ strictly part of the guaranteed API. terminated in an unusual way. The string ``init`` if the process could not be started. + On Windows, ``killed`` is only returned when the process has been + killed by mpv as a result of ``cancellable`` being set to ``true``. + In all cases, ``mp.resume_all()`` is implicitly called. ``utils.parse_json(str [, trail])``