diff options
author | wm4 <wm4@nowhere> | 2018-05-12 15:14:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b (patch) | |
tree | 28e21cbff4d4e102696c0416045973e7d851bdbf /input/cmd.h | |
parent | 1aae88b4879f40c68cebbdcd47895787ecdcdf68 (diff) | |
download | mpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.bz2 mpv-d9bc97bda6e4750af2fbbfcb51ddb6b2c04c277b.tar.xz |
command: add a subprocess command
This supports named arguments. It benefits from the infrastructure of
async commands.
The plan is to reimplement Lua's utils.subprocess() on top of it.
Diffstat (limited to 'input/cmd.h')
-rw-r--r-- | input/cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/cmd.h b/input/cmd.h index 01f2d8356f..0e65565252 100644 --- a/input/cmd.h +++ b/input/cmd.h @@ -80,6 +80,7 @@ struct mp_cmd_arg { const struct m_option *type; union { int i; + int64_t i64; float f; double d; char *s; |