Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

exec

Executes a command and captures its output.

It is assumed to be idempotent.

State Required: No

Inputs

inputs.args

Arguments to pass to the executable.

Type: list of (string or (string or absolute path or signed integer) convertible to it)

Default: [ ]

Declared by:

inputs.executable

The command to execute. Can be a string path or a function that returns a path.

Type: string or (function that evaluates to a(n) string) convertible to it

Declared by:

inputs.stdin

Optional input to provide on stdin.

Type: null or string

Default: null

Declared by:

Outputs

outputs.stdout

The standard output captured from the command.

Type: string

Declared by: