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 /options/options.h | |
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 'options/options.h')
0 files changed, 0 insertions, 0 deletions