TerminationReason
enum TerminationReasonenum TerminationReasonimport Foundationclass Processcase exitcase uncaughtSignaloverride init() static let didTerminateNotification: NSNotification.Nameclass func run(_ url: URL, arguments: [String], terminationHandler: ((Process) -> Void)? = nil) throws -> Process var arguments: [String]?var currentDirectoryURL: URL? { get set }var environment: [String : String]?var executableURL: URL? { get set }var isRunning: Bool { get }var processIdentifier: Int32 { get }var qualityOfService: QualityOfServicevar standardError: Any? { get set }var standardInput: Any? { get set }var standardOutput: Any? { get set }var terminationHandler: ((Process) -> Void)?var terminationReason: Process.TerminationReason { get }var terminationStatus: Int32 { get }func interrupt() func resume() -> Bool func run() throws func suspend() -> Bool func terminate() func waitUntilExit() class func launchedProcess(launchPath path: String, arguments: [String]) -> Process var currentDirectoryPath: String { get set }var launchPath: String? { get set }func launch() protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol Sendable : SendableMetatypeA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
protocol SendableMetatype : ~Copyable, ~EscapableA type whose metatype can be shared across arbitrary concurrent contexts without introducing a risk of data races. When a generic type T conforms to SendableMetatype, its metatype T.Type conforms to Sendable. All concrete types implicitly conform to the SendableMetatype protocol, so its primary purpose is in generic code to prohibit the use of isolated conformances along with the generic type.
init?(rawValue: Int) var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)