Process

enum Process

Command-line arguments for the current process.

Import import Swift

Static Variables

static var argc: CInt

Access to the raw argc value from C.

Declaration

static var argc: CInt { get }
static var arguments: [String]

The list of command-line arguments with which the current process was invoked.

Declaration

static var arguments: [String] { get }
static var unsafeArgv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>>

Access to the raw argv value from C. Accessing the argument vector through this pointer is unsafe.

Declaration

static var unsafeArgv: UnsafeMutablePointer<UnsafeMutablePointer<Int8>> { get }