1717
1818// MARK: - Collected Result
1919
20- /// Run a executable with given parameters asynchrously and returns
20+ /// Run an executable with given parameters asynchronously and returns
2121/// a `CollectedResult` containing the output of the child process.
2222/// - Parameters:
2323/// - executable: The executable to run.
@@ -62,7 +62,7 @@ public func run<
6262 )
6363}
6464
65- /// Run a executable with given parameters asynchrously and returns
65+ /// Run an executable with given parameters asynchronously and returns
6666/// a `CollectedResult` containing the output of the child process.
6767/// - Parameters:
6868/// - executable: The executable to run.
@@ -142,7 +142,7 @@ public func run<
142142
143143// MARK: - Custom Execution Body
144144
145- /// Run a executable with given parameters and a custom closure
145+ /// Run an executable with given parameters and a custom closure
146146/// to manage the running subprocess' lifetime and stream its standard output.
147147/// - Parameters:
148148/// - executable: The executable to run.
@@ -155,7 +155,7 @@ public func run<
155155/// - error: How to manager executable standard error.
156156/// - isolation: the isolation context to run the body closure.
157157/// - body: The custom execution body to manually control the running process
158- /// - Returns a ExecutableResult type containing the return value
158+ /// - Returns an executableResult type containing the return value
159159/// of the closure.
160160public func run< Result, Input: InputProtocol , Error: OutputProtocol > (
161161 _ executable: Executable ,
@@ -204,7 +204,7 @@ public func run<Result, Input: InputProtocol, Error: OutputProtocol>(
204204 }
205205}
206206
207- /// Run a executable with given parameters and a custom closure
207+ /// Run an executable with given parameters and a custom closure
208208/// to manage the running subprocess' lifetime and stream its standard error.
209209/// - Parameters:
210210/// - executable: The executable to run.
@@ -217,7 +217,7 @@ public func run<Result, Input: InputProtocol, Error: OutputProtocol>(
217217/// - output: How to manager executable standard output.
218218/// - isolation: the isolation context to run the body closure.
219219/// - body: The custom execution body to manually control the running process
220- /// - Returns a ExecutableResult type containing the return value
220+ /// - Returns an executableResult type containing the return value
221221/// of the closure.
222222public func run< Result, Input: InputProtocol , Output: OutputProtocol > (
223223 _ executable: Executable ,
@@ -266,7 +266,7 @@ public func run<Result, Input: InputProtocol, Output: OutputProtocol>(
266266 }
267267}
268268
269- /// Run a executable with given parameters and a custom closure
269+ /// Run an executable with given parameters and a custom closure
270270/// to manage the running subprocess' lifetime, write to its
271271/// standard input, and stream its standard output.
272272/// - Parameters:
@@ -279,7 +279,7 @@ public func run<Result, Input: InputProtocol, Output: OutputProtocol>(
279279/// - error: How to manager executable standard error.
280280/// - isolation: the isolation context to run the body closure.
281281/// - body: The custom execution body to manually control the running process
282- /// - Returns a ExecutableResult type containing the return value
282+ /// - Returns an executableResult type containing the return value
283283/// of the closure.
284284public func run< Result, Error: OutputProtocol > (
285285 _ executable: Executable ,
@@ -311,7 +311,7 @@ public func run<Result, Error: OutputProtocol>(
311311 }
312312}
313313
314- /// Run a executable with given parameters and a custom closure
314+ /// Run an executable with given parameters and a custom closure
315315/// to manage the running subprocess' lifetime, write to its
316316/// standard input, and stream its standard error.
317317/// - Parameters:
@@ -324,7 +324,7 @@ public func run<Result, Error: OutputProtocol>(
324324/// - output: How to manager executable standard output.
325325/// - isolation: the isolation context to run the body closure.
326326/// - body: The custom execution body to manually control the running process
327- /// - Returns a ExecutableResult type containing the return value
327+ /// - Returns an executableResult type containing the return value
328328/// of the closure.
329329public func run< Result, Output: OutputProtocol > (
330330 _ executable: Executable ,
@@ -356,7 +356,7 @@ public func run<Result, Output: OutputProtocol>(
356356 }
357357}
358358
359- /// Run a executable with given parameters and a custom closure
359+ /// Run an executable with given parameters and a custom closure
360360/// to manage the running subprocess' lifetime, write to its
361361/// standard input, and stream its standard output and standard error.
362362/// - Parameters:
@@ -368,7 +368,7 @@ public func run<Result, Output: OutputProtocol>(
368368/// when running the executable.
369369/// - isolation: the isolation context to run the body closure.
370370/// - body: The custom execution body to manually control the running process
371- /// - Returns a ExecutableResult type containing the return value
371+ /// - Returns an executableResult type containing the return value
372372/// of the closure.
373373public func run< Result> (
374374 _ executable: Executable ,
@@ -411,7 +411,7 @@ public func run<Result>(
411411
412412// MARK: - Configuration Based
413413
414- /// Run a `Configuration` asynchrously and returns
414+ /// Run a `Configuration` asynchronously and returns
415415/// a `CollectedResult` containing the output of the child process.
416416/// - Parameters:
417417/// - configuration: The `Subprocess` configuration to run.
@@ -503,14 +503,14 @@ public func run<
503503 )
504504}
505505
506- /// Run a executable with given parameters specified by a `Configuration`
506+ /// Run an executable with given parameters specified by a `Configuration`
507507/// - Parameters:
508508/// - configuration: The `Subprocess` configuration to run.
509509/// - isolation: the isolation context to run the body closure.
510510/// - body: The custom configuration body to manually control
511511/// the running process, write to its standard input, stream
512512/// its standard output and standard error.
513- /// - Returns a ExecutableResult type containing the return value
513+ /// - Returns an executableResult type containing the return value
514514/// of the closure.
515515public func run< Result> (
516516 _ configuration: Configuration,
@@ -534,7 +534,7 @@ public func run<Result>(
534534
535535// MARK: - Detached
536536
537- /// Run a executable with given parameters and return its process
537+ /// Run an executable with given parameters and return its process
538538/// identifier immediately without monitoring the state of the
539539/// subprocess nor waiting until it exits.
540540///
@@ -571,7 +571,7 @@ public func runDetached(
571571 return try runDetached ( config, input: input, output: output, error: error)
572572}
573573
574- /// Run a executable with given configuration and return its process
574+ /// Run an executable with given configuration and return its process
575575/// identifier immediately without monitoring the state of the
576576/// subprocess nor waiting until it exits.
577577///
0 commit comments