You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ let result = try await run(.path("/bin/exe"), platformOptions: platformOptions)
143
143
144
144
By default, `Subprocess`:
145
145
- Doesn’t send any input to the child process’s standard input
146
-
-Captures the child process’s standard output as a `String`, up to 128kB
146
+
-Asks the user how to capture the output
147
147
- Ignores the child process’s standard error
148
148
149
149
You can tailor how `Subprocess` handles the standard input, standard output, and standard error by setting the `input`, `output`, and `error` parameters:
@@ -222,13 +222,13 @@ Use it by setting `.fileDescriptor(closeAfterSpawningProcess:)` for `output` or
222
222
223
223
This option collects output as a `String` with the given encoding.
224
224
225
-
Use it by setting `.string` or `.string(limit:encoding:)` for `output` or `error`.
225
+
Use it by setting `.string(limit:encoding:)` for `output` or `error`.
226
226
227
227
#### `BytesOutput`
228
228
229
229
This option collects output as `[UInt8]`.
230
230
231
-
Use it by setting`.bytes` or `.bytes(limit:)` for `output` or `error`.
231
+
Use it by setting`.bytes(limit:)` for `output` or `error`.
0 commit comments