Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Sources/TSCBasic/Process/ProcessSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public enum ProcessSetError: Swift.Error {
/// A process set is a small wrapper for collection of processes.
///
/// This class is thread safe.
@available(*, deprecated, message: "Use `TaskGroup` with async `Process` APIs instead")
public final class ProcessSet {

/// Array to hold the processes.
Expand Down
1 change: 1 addition & 0 deletions Tests/TSCBasicTests/ProcessSetTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import TSCLibc
import TSCUtility
import TSCTestSupport

@available(*, deprecated)
class ProcessSetTests: XCTestCase {
#if !os(Windows) // Signals are not supported in Windows
func script(_ name: String) -> String {
Expand Down
1 change: 1 addition & 0 deletions Tests/TSCBasicTests/ProcessTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ class ProcessTests: XCTestCase {
}

#if !os(Windows) // Signals are not supported in Windows
@available(*, deprecated)
func testSignals() throws {
let processes = ProcessSet()
let group = DispatchGroup()
Expand Down