diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-16 17:04:10 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-16 17:04:10 -0400 |
| commit | f4f5fd4fdd9315667f048c578f3a441e6710250d (patch) | |
| tree | 2385ca53246b347a589c2b6f6ac3b0d2c1d0f387 /docs/shell.md | |
| parent | 67191b70789de3ef723561f26587903dc1dc698f (diff) | |
Fix docs
Diffstat (limited to 'docs/shell.md')
| -rw-r--r-- | docs/shell.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shell.md b/docs/shell.md index 6ccae994..478f7083 100644 --- a/docs/shell.md +++ b/docs/shell.md @@ -16,7 +16,7 @@ user-controlled string is automatically escaped when performing interpolation. - [`func by_line(command: Shell -> Void)`](#by_line) - [`func execute(command: Shell -> Int32?)`](#execute) - [`func run(command: Shell -> Text?)`](#run) -- [`func run(command: Shell -> [Byte]?)`](#run_bytes) +- [`func run_bytes(command: Shell -> [Byte]?)`](#run_bytes) ### `by_line` Run a shell command and return an iterator over its output, line-by-line. @@ -85,7 +85,7 @@ if there is a trailing newline, it will be stripped. Run a shell command and return the output in raw bytes from `stdout`. ```tomo -func run(command: Shell -> [Byte]?) +func run_bytes(command: Shell -> [Byte]?) ``` - `command`: The command to run. |
