File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ class SigIntListener {
36
36
}
37
37
38
38
/// Provides convenience APIs for launching and gathering output from a subprocess
39
- public class ProcessRunner {
39
+ class ProcessRunner {
40
40
private let process : Process
41
41
42
- public init (
42
+ init (
43
43
executableURL: URL ,
44
44
arguments: [ String ] ,
45
45
additionalEnvironment: [ String : String ? ] = [ : ]
@@ -54,7 +54,7 @@ public class ProcessRunner {
54
54
}
55
55
56
56
@discardableResult
57
- public func run(
57
+ func run(
58
58
captureStdout: Bool = true ,
59
59
captureStderr: Bool = true ,
60
60
verbose: Bool
@@ -131,9 +131,9 @@ public class ProcessRunner {
131
131
132
132
/// The exit code and output (if redirected) from a subprocess that has
133
133
/// terminated
134
- public struct ProcessResult {
135
- public let stdout : String
136
- public let stderr : String
134
+ struct ProcessResult {
135
+ let stdout : String
136
+ let stderr : String
137
137
}
138
138
139
139
/// Error thrown if a process terminates with a non-zero exit code.
You can’t perform that action at this time.
0 commit comments