File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 14
14
/// should be passed to the async method's completion handler.
15
15
/// - Returns: The value wrapped by the async method's result.
16
16
/// - Throws: The error wrapped by the async method's result
17
- #if compiler(>=5.7 )
17
+ #if compiler(>=5.8 )
18
18
@available ( * , noasync)
19
19
#endif
20
20
public func tsc_await< T, ErrorType> ( _ body: ( @escaping ( Result < T , ErrorType > ) -> Void ) -> Void ) throws -> T {
21
21
return try tsc_await ( body) . get ( )
22
22
}
23
23
24
- #if compiler(>=5.7 )
24
+ #if compiler(>=5.8 )
25
25
@available ( * , noasync)
26
26
#endif
27
27
public func tsc_await< T> ( _ body: ( @escaping ( T ) -> Void ) -> Void ) -> T {
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ public final class Process {
835
835
}
836
836
837
837
/// Blocks the calling process until the subprocess finishes execution.
838
- #if compiler(>=5.7 )
838
+ #if compiler(>=5.8 )
839
839
@available ( * , noasync)
840
840
#endif
841
841
@discardableResult
@@ -1060,7 +1060,7 @@ extension Process {
1060
1060
/// - loggingHandler: Handler for logging messages
1061
1061
/// - queue: Queue to use for callbacks
1062
1062
/// - completion: A completion handler to return the process result
1063
- #if compiler(>=5.7 )
1063
+ #if compiler(>=5.8 )
1064
1064
@available ( * , noasync)
1065
1065
#endif
1066
1066
static public func popen(
@@ -1097,7 +1097,7 @@ extension Process {
1097
1097
/// will be inherited.
1098
1098
/// - loggingHandler: Handler for logging messages
1099
1099
/// - Returns: The process result.
1100
- #if compiler(>=5.7 )
1100
+ #if compiler(>=5.8 )
1101
1101
@available ( * , noasync)
1102
1102
#endif
1103
1103
@discardableResult
@@ -1124,7 +1124,7 @@ extension Process {
1124
1124
/// will be inherited.
1125
1125
/// - loggingHandler: Handler for logging messages
1126
1126
/// - Returns: The process result.
1127
- #if compiler(>=5.7 )
1127
+ #if compiler(>=5.8 )
1128
1128
@available ( * , noasync)
1129
1129
#endif
1130
1130
@discardableResult
@@ -1144,7 +1144,7 @@ extension Process {
1144
1144
/// will be inherited.
1145
1145
/// - loggingHandler: Handler for logging messages
1146
1146
/// - Returns: The process output (stdout + stderr).
1147
- #if compiler(>=5.7 )
1147
+ #if compiler(>=5.8 )
1148
1148
@available ( * , noasync)
1149
1149
#endif
1150
1150
@discardableResult
@@ -1176,7 +1176,7 @@ extension Process {
1176
1176
/// will be inherited.
1177
1177
/// - loggingHandler: Handler for logging messages
1178
1178
/// - Returns: The process output (stdout + stderr).
1179
- #if compiler(>=5.7 )
1179
+ #if compiler(>=5.8 )
1180
1180
@available ( * , noasync)
1181
1181
#endif
1182
1182
@discardableResult
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public final class ProcessSet {
64
64
/// Terminate all the processes. This method blocks until all processes in the set are terminated.
65
65
///
66
66
/// A process set cannot be used once it has been asked to terminate.
67
- #if compiler(>=5.7 )
67
+ #if compiler(>=5.8 )
68
68
@available ( * , noasync)
69
69
#endif
70
70
public func terminate( ) {
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ fileprivate extension Process {
479
479
self . init ( arguments: [ Self . script ( scriptName) ] + arguments, environment: Self . env ( ) , outputRedirection: outputRedirection)
480
480
}
481
481
482
- #if compiler(>=5.7 )
482
+ #if compiler(>=5.8 )
483
483
@available ( * , noasync)
484
484
#endif
485
485
static func checkNonZeroExit(
@@ -498,7 +498,7 @@ fileprivate extension Process {
498
498
return try await checkNonZeroExit ( args: script ( scriptName) , environment: environment, loggingHandler: loggingHandler)
499
499
}
500
500
501
- #if compiler(>=5.7 )
501
+ #if compiler(>=5.8 )
502
502
@available ( * , noasync)
503
503
#endif
504
504
@discardableResult
You can’t perform that action at this time.
0 commit comments