We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f7e38 commit 9826fc2Copy full SHA for 9826fc2
Sources/SwiftlyCore/Platform.swift
@@ -211,6 +211,10 @@ extension Platform {
211
}
212
process.waitUntilExit()
213
214
+ if pgid != -1 {
215
+ tcsetpgrp(STDOUT_FILENO, pgid)
216
+ }
217
+
218
guard process.terminationStatus == 0 else {
219
throw RunProgramError(exitCode: process.terminationStatus, program: args.first!)
220
@@ -254,6 +258,10 @@ extension Platform {
254
258
255
259
256
260
261
262
263
264
257
265
266
267
0 commit comments