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.
Showing the changes to input (1 of 5 files). Show all
Unified · Split
| @@ -80,6 +80,7 @@ struct mp_cmd_arg { · 79 unmodified lines | ||
| 80 | 80 | const struct m_option *type; |
| 81 | 81 | union { |
| 82 | 82 | int i; |
| 83 | + int64_t i64; | |
| 83 | 84 | float f; |
| 84 | 85 | double d; |
| 85 | 86 | char *s; |