diff options
author | wm4 <wm4@nowhere> | 2015-01-01 20:37:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-01 20:37:49 +0100 |
commit | 4c3f0427775273fe3925f631ea46891af56020aa (patch) | |
tree | 333c0c43c18efe64612618a7401fc4d788efe990 /DOCS/man | |
parent | 44701238c73ba8f50fb16c675e2db3555902ac7a (diff) | |
download | mpv-4c3f0427775273fe3925f631ea46891af56020aa.tar.bz2 mpv-4c3f0427775273fe3925f631ea46891af56020aa.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().
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/input.rst | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index aed7251aca..1a829c152c 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -249,7 +249,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 |