DOCS/man: use _name key for mp.command_native
This commit is contained in:
1 parent
80582efca5
commit
dbd31fd9d3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1355,7 +1355,7 @@ Execution Commands
|
||||
::
|
||||
|
||||
local r = mp.command_native({
|
||||
name = "subprocess",
|
||||
_name = "subprocess",
|
||||
playback_only = false,
|
||||
capture_stdout = true,
|
||||
args = {"cat", "/proc/cpuinfo"},
|
||||
|
||||
+1
-1
@@ -849,7 +849,7 @@ strictly part of the guaranteed API.
|
||||
- rename ``cancellable`` field to ``playback_only``
|
||||
- rename ``max_size`` to ``capture_size``
|
||||
- set ``capture_stdout`` field to ``true`` if unset
|
||||
- set ``name`` field to ``subprocess``
|
||||
- set ``_name`` field to ``subprocess``
|
||||
- call ``mp.command_native(copied_t)``
|
||||
- if the command failed, create a dummy result table
|
||||
- copy ``error_string`` to ``error`` field if the string is non-empty
|
||||
|
||||
Reference in new issue
Block a user