File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -210,25 +210,25 @@ Use it by setting `.asyncSequence` for `input`.
210
210
211
211
This option means the ` Subprocess ` won’t collect or redirect output from the child process.
212
212
213
- Use it by setting ` .discarded ` for ` input ` or ` error ` .
213
+ Use it by setting ` .discarded ` for ` output ` or ` error ` .
214
214
215
215
#### ` FileDescriptorOutput `
216
216
217
217
This option writes output to a specified ` FileDescriptor ` . You can choose to have the ` Subprocess ` close the file descriptor after spawning.
218
218
219
- Use it by setting ` .fileDescriptor(closeAfterSpawningProcess:) ` for ` input ` or ` error ` .
219
+ Use it by setting ` .fileDescriptor(closeAfterSpawningProcess:) ` for ` output ` or ` error ` .
220
220
221
221
#### ` StringOutput `
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 ` input ` or ` error ` .
225
+ Use it by setting ` .string ` or ` .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 ` input ` or ` error ` .
231
+ Use it by setting ` .bytes ` or ` .bytes(limit:) ` for ` output ` or ` error ` .
232
232
233
233
234
234
### Cross-platform support
You can’t perform that action at this time.
0 commit comments