ShellContext
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
The current working directory.
Must be used instead of
run("cd", "...")because all theruncommands are executed in a separate process and changing the directory there will not affect the rest of the Swift script.Declaration
Swift
public var currentdirectory: String -
Creates a blank ShellContext.
Declaration
Swift
public init () -
Creates a new ShellContext from another ShellContextType.
Declaration
Swift
public init (_ context: ShellContextType)
-
Undocumented
View on GitHub
ShellContext Struct Reference