File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ main-snapshot-2025-04-12
Original file line number Diff line number Diff line change @@ -871,7 +871,11 @@ internal struct CreatedPipe {
871871 }
872872
873873 internal init ( closeWhenDone: Bool ) throws {
874+ #if os(Windows)
874875 let pipe = try FileDescriptor . ssp_pipe ( )
876+ #else
877+ let pipe = try FileDescriptor . pipe ( )
878+ #endif
875879
876880 self . readFileDescriptor = . init(
877881 pipe. readEnd,
Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ extension SubprocessUnixTests {
729729 var platformOptions = PlatformOptions ( )
730730 platformOptions. supplementaryGroups = Array ( expectedGroups)
731731 let idResult = try await Subprocess . run (
732- . name( " /usr/bin/ swift" ) ,
732+ . name( " swift " ) ,
733733 arguments: [ getgroupsSwift. string] ,
734734 platformOptions: platformOptions,
735735 output: . string
You can’t perform that action at this time.
0 commit comments