Skip to content

Commit b1499c1

Browse files
committed
Fix Subprocess.run API updates
1 parent 3b0c883 commit b1499c1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ let package = Package(
140140
.package(url: "https://github.com/apple/swift-system", from: "1.4.0"),
141141
.package(url: "https://github.com/apple/swift-log", from: "1.2.0"),
142142
.package(url: "https://github.com/apple/swift-collections", from: "1.3.0"), // primarily for ordered collections
143-
.package(url: "https://github.com/swiftlang/swift-subprocess.git", from: "0.4.0", traits: ["SubprocessFoundation"]),
143+
.package(url: "https://github.com/swiftlang/swift-subprocess.git", from: "0.5.0", traits: ["SubprocessFoundation"]),
144144

145145
// Benchmarking
146146
.package(url: "https://github.com/ordo-one/package-benchmark", .upToNextMajor(from: "1.4.0")),

Sources/SwiftJavaTool/Commands/JavaCallbacksBuildCommand.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ private func runSubprocess(
269269
.path(FilePath(executable)),
270270
arguments: .init(arguments),
271271
environment: environment,
272-
output: .standardOutput,
273-
error: .standardError,
272+
output: .currentStandardOutput,
273+
error: .currentStandardError,
274274
)
275275
guard result.terminationStatus.isSuccess else {
276276
throw JavaCallbacksBuildError(

0 commit comments

Comments
 (0)