Open ClassFoundation5.9.0
Process
class Process
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(
) static let didTerminateNotification: NSNotification.Name
class func run(URL, arguments: [String], terminationHandler: ((Process) -> Void)?
) throws -> Process var arguments: [String]?
var currentDirectoryURL: URL?
var environment: [String : String]?
var executableURL: URL?
var isRunning: Bool
var processIdentifier: Int32
var qualityOfService: QualityOfService
var standardError: Any?
var standardInput: Any?
var standardOutput: Any?
var terminationHandler: ((Process) -> Void)?
var terminationReason: Process.TerminationReason
var terminationStatus: Int32
func interrupt(
) func resume(
) -> Bool func run(
) throws func suspend(
) -> Bool func terminate(
) func waitUntilExit(
) enum TerminationReason
class func launchedProcess(launchPath: String, arguments: [String]
) -> Process var currentDirectoryPath: String
var launchPath: String?
func launch(
)