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 12
12
13
13
import AsyncAlgorithms
14
14
import Atomics
15
+ import Foundation
15
16
import Logging
16
17
import NIO
17
18
import ProcessSpawnSync
@@ -30,13 +31,6 @@ import ProcessSpawnSync
30
31
typealias Process = PSProcess
31
32
#endif
32
33
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
-
40
34
public struct ProcessOutputStream : Sendable & Hashable & CustomStringConvertible {
41
35
internal enum Backing {
42
36
case standardOutput
Original file line number Diff line number Diff line change 12
12
13
13
import Atomics
14
14
import CProcessSpawnSync
15
+ import Foundation
15
16
import NIOConcurrencyHelpers
16
17
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
-
24
18
extension ps_error_s {
25
19
private func makeDescription( ) -> String {
26
20
return """
You can’t perform that action at this time.
0 commit comments