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`.
210210
211211This option means the ` Subprocess `  won’t collect or redirect output from the child process.
212212
213- Use it by setting ` .discarded `  for ` input `  or ` error ` .
213+ Use it by setting ` .discarded `  for ` output `  or ` error ` .
214214
215215#### ` FileDescriptorOutput `  
216216
217217This option writes output to a specified ` FileDescriptor ` . You can choose to have the ` Subprocess `  close the file descriptor after spawning.
218218
219- Use it by setting ` .fileDescriptor(closeAfterSpawningProcess:) `  for ` input `  or ` error ` .
219+ Use it by setting ` .fileDescriptor(closeAfterSpawningProcess:) `  for ` output `  or ` error ` .
220220
221221#### ` StringOutput `  
222222
223223This option collects output as a ` String `  with the given encoding.
224224
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 ` .
226226
227227#### ` BytesOutput `  
228228
229229This option collects output as ` [UInt8] ` .
230230
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 ` .
232232
233233
234234### Cross-platform support  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments