Skip to content

Commit b5603bb

Browse files
committed
Fix issue encountered resolving merge conflict
1 parent 66c9ac9 commit b5603bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SWBUtil/Process.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ extension Process {
130130
let (exitStatus, output) = try await _getOutput(url: url, arguments: arguments, currentDirectoryURL: currentDirectoryURL, environment: environment, interruptible: interruptible) { process in
131131
process.standardOutputPipe = pipe
132132
process.standardErrorPipe = pipe
133-
return pipe.fileHandleForReading.bytes()
133+
return pipe.fileHandleForReading.bytes(on: .global())
134134
} collect: { stream in
135135
try await stream.collect()
136136
}
@@ -144,7 +144,7 @@ extension Process {
144144
let (exitStatus, output) = try await _getOutput(url: url, arguments: arguments, currentDirectoryURL: currentDirectoryURL, environment: environment, interruptible: interruptible) { process in
145145
process.standardOutputPipe = pipe
146146
process.standardErrorPipe = pipe
147-
return pipe.fileHandleForReading._bytes()
147+
return pipe.fileHandleForReading._bytes(on: .global())
148148
} collect: { stream in
149149
try await stream.collect()
150150
}

0 commit comments

Comments
 (0)