17
17
18
18
// MARK: - Collected Result
19
19
20
- /// Run a executable with given parameters asynchrously and returns
20
+ /// Run an executable with given parameters asynchronously and returns
21
21
/// a `CollectedResult` containing the output of the child process.
22
22
/// - Parameters:
23
23
/// - executable: The executable to run.
@@ -62,7 +62,7 @@ public func run<
62
62
)
63
63
}
64
64
65
- /// Run a executable with given parameters asynchrously and returns
65
+ /// Run an executable with given parameters asynchronously and returns
66
66
/// a `CollectedResult` containing the output of the child process.
67
67
/// - Parameters:
68
68
/// - executable: The executable to run.
@@ -142,7 +142,7 @@ public func run<
142
142
143
143
// MARK: - Custom Execution Body
144
144
145
- /// Run a executable with given parameters and a custom closure
145
+ /// Run an executable with given parameters and a custom closure
146
146
/// to manage the running subprocess' lifetime and stream its standard output.
147
147
/// - Parameters:
148
148
/// - executable: The executable to run.
@@ -155,7 +155,7 @@ public func run<
155
155
/// - error: How to manager executable standard error.
156
156
/// - isolation: the isolation context to run the body closure.
157
157
/// - 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
159
159
/// of the closure.
160
160
public func run< Result, Input: InputProtocol , Error: OutputProtocol > (
161
161
_ executable: Executable ,
@@ -204,7 +204,7 @@ public func run<Result, Input: InputProtocol, Error: OutputProtocol>(
204
204
}
205
205
}
206
206
207
- /// Run a executable with given parameters and a custom closure
207
+ /// Run an executable with given parameters and a custom closure
208
208
/// to manage the running subprocess' lifetime and stream its standard error.
209
209
/// - Parameters:
210
210
/// - executable: The executable to run.
@@ -217,7 +217,7 @@ public func run<Result, Input: InputProtocol, Error: OutputProtocol>(
217
217
/// - output: How to manager executable standard output.
218
218
/// - isolation: the isolation context to run the body closure.
219
219
/// - 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
221
221
/// of the closure.
222
222
public func run< Result, Input: InputProtocol , Output: OutputProtocol > (
223
223
_ executable: Executable ,
@@ -266,7 +266,7 @@ public func run<Result, Input: InputProtocol, Output: OutputProtocol>(
266
266
}
267
267
}
268
268
269
- /// Run a executable with given parameters and a custom closure
269
+ /// Run an executable with given parameters and a custom closure
270
270
/// to manage the running subprocess' lifetime, write to its
271
271
/// standard input, and stream its standard output.
272
272
/// - Parameters:
@@ -279,7 +279,7 @@ public func run<Result, Input: InputProtocol, Output: OutputProtocol>(
279
279
/// - error: How to manager executable standard error.
280
280
/// - isolation: the isolation context to run the body closure.
281
281
/// - 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
283
283
/// of the closure.
284
284
public func run< Result, Error: OutputProtocol > (
285
285
_ executable: Executable ,
@@ -311,7 +311,7 @@ public func run<Result, Error: OutputProtocol>(
311
311
}
312
312
}
313
313
314
- /// Run a executable with given parameters and a custom closure
314
+ /// Run an executable with given parameters and a custom closure
315
315
/// to manage the running subprocess' lifetime, write to its
316
316
/// standard input, and stream its standard error.
317
317
/// - Parameters:
@@ -324,7 +324,7 @@ public func run<Result, Error: OutputProtocol>(
324
324
/// - output: How to manager executable standard output.
325
325
/// - isolation: the isolation context to run the body closure.
326
326
/// - 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
328
328
/// of the closure.
329
329
public func run< Result, Output: OutputProtocol > (
330
330
_ executable: Executable ,
@@ -356,7 +356,7 @@ public func run<Result, Output: OutputProtocol>(
356
356
}
357
357
}
358
358
359
- /// Run a executable with given parameters and a custom closure
359
+ /// Run an executable with given parameters and a custom closure
360
360
/// to manage the running subprocess' lifetime, write to its
361
361
/// standard input, and stream its standard output and standard error.
362
362
/// - Parameters:
@@ -368,7 +368,7 @@ public func run<Result, Output: OutputProtocol>(
368
368
/// when running the executable.
369
369
/// - isolation: the isolation context to run the body closure.
370
370
/// - 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
372
372
/// of the closure.
373
373
public func run< Result> (
374
374
_ executable: Executable ,
@@ -411,7 +411,7 @@ public func run<Result>(
411
411
412
412
// MARK: - Configuration Based
413
413
414
- /// Run a `Configuration` asynchrously and returns
414
+ /// Run a `Configuration` asynchronously and returns
415
415
/// a `CollectedResult` containing the output of the child process.
416
416
/// - Parameters:
417
417
/// - configuration: The `Subprocess` configuration to run.
@@ -503,14 +503,14 @@ public func run<
503
503
)
504
504
}
505
505
506
- /// Run a executable with given parameters specified by a `Configuration`
506
+ /// Run an executable with given parameters specified by a `Configuration`
507
507
/// - Parameters:
508
508
/// - configuration: The `Subprocess` configuration to run.
509
509
/// - isolation: the isolation context to run the body closure.
510
510
/// - body: The custom configuration body to manually control
511
511
/// the running process, write to its standard input, stream
512
512
/// its standard output and standard error.
513
- /// - Returns a ExecutableResult type containing the return value
513
+ /// - Returns an executableResult type containing the return value
514
514
/// of the closure.
515
515
public func run< Result> (
516
516
_ configuration: Configuration,
@@ -534,7 +534,7 @@ public func run<Result>(
534
534
535
535
// MARK: - Detached
536
536
537
- /// Run a executable with given parameters and return its process
537
+ /// Run an executable with given parameters and return its process
538
538
/// identifier immediately without monitoring the state of the
539
539
/// subprocess nor waiting until it exits.
540
540
///
@@ -571,7 +571,7 @@ public func runDetached(
571
571
return try runDetached ( config, input: input, output: output, error: error)
572
572
}
573
573
574
- /// Run a executable with given configuration and return its process
574
+ /// Run an executable with given configuration and return its process
575
575
/// identifier immediately without monitoring the state of the
576
576
/// subprocess nor waiting until it exits.
577
577
///
0 commit comments