Make it possible to feed a string to stdin of a subprocess. Out of laziness, it can't be an arbitrary byte string. (Would require adding an option type that takes in a Lua byte string.) Do not set stdin of a subprocess to fd 0 (i.e. mpv's stdin) anymore, because it makes things more consistent. Enabling stdin didn't make too much sense in the first place, so this behavior change seems justifiable. win32 support missing.
Showing the changes to DOCS/interface-changes.rst (1 of 7 files). Show all
Unified · Split
| @@ -74,6 +74,9 @@ Interface changes · 73 unmodified lines | ||
| 74 | 74 | - undeprecate --video-sync=display-adrop |
| 75 | 75 | - deprecate legacy auto profiles (profiles starting with "extension." and |
| 76 | 76 | "protocol."). Use conditional auto profiles instead. |
| 77 | + - the "subprocess" command does not connect spawned processes' stdin to | |
| 78 | + mpv's stdin anymore. Instead, stdin is connected to /dev/null by default. | |
| 79 | + To get the old behavior, set the "passthrough_stdin" argument to true. | |
| 77 | 80 | --- mpv 0.32.0 --- |
| 78 | 81 | - change behavior when using legacy option syntax with options that start |
| 79 | 82 | with two dashes (``--`` instead of a ``-``). Now, using the recommended |