From 4c3f0427775273fe3925f631ea46891af56020aa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Jan 2015 20:37:49 +0100 Subject: 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(). --- DOCS/man/input.rst | 1 - 1 file changed, 1 deletion(-) (limited to 'DOCS') 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 -- cgit v1.2.3