aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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