summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-01 20:37:49 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:16 +0900
commit5c1c8b5fab11054d29bd78a69eb5d3b568288b28 (patch)
tree3e5524b25955f4c531c609e168b007eef5cc4378 /DOCS
parent85f54ce5d0d5d1733bb2029ed43bcbd2bac3e22b (diff)
downloadmpv-5c1c8b5fab11054d29bd78a69eb5d3b568288b28.tar.bz2
mpv-5c1c8b5fab11054d29bd78a69eb5d3b568288b28.tar.xz
command: make the "run" command work on Windows too
Do so by using mp_subprocess(). Although this uses completely different code on Unix too, you shouldn't notice a difference. A less ncie thing is that this reserves an entire thread while the command is running (which wastes some memory for stack, at least). But this is probably still the simplest way, and the fork() trick is apparently not implementable with posix_subprocess(). Conflicts: player/command.c
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index b3a27b50f7..45273153a4 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -240,7 +240,6 @@ List of Input Commands
will have after moving.)
``run "command" "arg1" "arg2" ...``
- (Unix only)
Run the given command. Unlike in MPlayer/mplayer2 and earlier versions of
mpv (0.2.x and older), this doesn't call the shell. Instead, the command
is run directly, with each argument passed separately. Each argument is