aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-11-29 15:01:26 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-11-29 18:12:33 -0800
commitc664d63ed1f170e7a83b894a92f75f2a86f276bf (patch)
tree7bc80837bf064d3f29241fc7f230946a73e427e9 /docs/yaml
parent04a973726b327d24b4e1c2714cf406c9a8b230cd (diff)
downloadmeson-c664d63ed1f170e7a83b894a92f75f2a86f276bf.zip
meson-c664d63ed1f170e7a83b894a92f75f2a86f276bf.tar.gz
meson-c664d63ed1f170e7a83b894a92f75f2a86f276bf.tar.bz2
docs: add missing argument documentation for run_command capture
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/run_command.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/yaml/functions/run_command.yaml b/docs/yaml/functions/run_command.yaml
index 288cd05..5803f82 100644
--- a/docs/yaml/functions/run_command.yaml
+++ b/docs/yaml/functions/run_command.yaml
@@ -30,6 +30,15 @@ kwargs:
and the configuration will fail if it is non-zero. Note that
the default value will be `true` in future releases.
+ capture:
+ type: bool
+ since: 0.47.0
+ default: true
+ description: |
+ If `true`, any output generated on stdout will be captured and returned by
+ the `.stdout()` method. If it is false, then `.stdout()` will return an
+ empty string.
+
env:
type: env | list[str] | dict[str]
since: 0.50.0