NonzeroExit
public struct NonzeroExit : Error, Sendable
extension Process.NonzeroExit: CustomStringConvertible, CustomDebugStringConvertible
The results of a process run that exited with a nonzero code.
-
The nonzero exit code of the process run.
Declaration
Swift
public let terminationStatus: Int32 -
The contents of the standard output stream.
Declaration
Swift
public let standardOutput: Lazy<String> -
The contents of the standard error stream.
Declaration
Swift
public let standardError: Lazy<String> -
The executable run by the process.
Declaration
Swift
public let executable: URL -
The arguments passed to executable ran by the process.
Declaration
Swift
public let arguments: [String] -
Declaration
Swift
public var description: String { get } -
Declaration
Swift
public var debugDescription: String { get }
View on GitHub