Context
public protocol Context : CustomDebugStringConvertible
Undocumented
-
Undocumented
Declaration
Swift
var env: [String : String] { get set }
-
Undocumented
Declaration
Swift
var stdin: ReadableStream { get set }
-
Undocumented
Declaration
Swift
var stdout: WritableStream { get set }
-
Undocumented
Declaration
Swift
var stderror: WritableStream { get set }
-
The current working directory.
Must be used instead of
run("cd", "...")
because all therun
commands are executed in a separate process and changing the directory there will not affect the rest of the Swift script.Declaration
Swift
var currentdirectory: String { get set }
-
debugDescription
Extension methodA textual representation of this instance, suitable for debugging.
Declaration
Swift
public var debugDescription: String { get }