fix: avoid stderr backpressure in macOS discovery (#3304) (thanks @abhijeet117)

This commit is contained in:
Peter Steinberger
2026-01-31 12:02:32 +01:00
parent efb93d18cf
commit b9b94715fa
2 changed files with 2 additions and 1 deletions

View File

@@ -223,9 +223,9 @@ enum WideAreaGatewayDiscovery {
process.arguments = args
let outPipe = Pipe()
process.standardOutput = outPipe
// Avoid stderr pipe backpressure; we don't consume it.
process.standardError = FileHandle.nullDevice
do {
try process.run()
} catch {