File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 1212
1313import AsyncAlgorithms
1414import Atomics
15+ import Foundation
1516import Logging
1617import NIO
1718import ProcessSpawnSync
@@ -30,13 +31,6 @@ import ProcessSpawnSync
3031 typealias Process = PSProcess
3132#endif
3233
33- #if os(iOS) || os(tvOS) || os(watchOS)
34- // Note: Process() in iOS/tvOS/watchOS is available in internal builds only under Foundation Private/headers
35- import Foundation_Private. NSTask
36- #else
37- import Foundation
38- #endif
39-
4034public struct ProcessOutputStream : Sendable & Hashable & CustomStringConvertible {
4135 internal enum Backing {
4236 case standardOutput
Original file line number Diff line number Diff line change 1212
1313import Atomics
1414import CProcessSpawnSync
15+ import Foundation
1516import NIOConcurrencyHelpers
1617
17- #if os(iOS) || os(tvOS) || os(watchOS)
18- // Note: Process in iOS/tvOS/watchOS is available in internal builds only under Foundation Private/headers
19- import Foundation_Private. NSTask
20- #else
21- import Foundation
22- #endif
23-
2418extension ps_error_s {
2519 private func makeDescription( ) -> String {
2620 return """
You can’t perform that action at this time.
0 commit comments