Functions
The following functions are available globally.
-
Convenience function for creating an extternal command. Does not run the command.
Declaration
Swift
public func cmd(_ command: String, arguments: [String], addEnv: [String : String] = [:]) -> CommandParameters
commandThe executable to run
argumentsThe command line arguments to pass. No substitution is performed
-
Convenience function for creating an extternal command. Does not run the command.
Declaration
Swift
public func cmd(_ command: String, _ arguments: String..., addEnv: [String : String] = [:]) -> CommandParameters
commandThe executable to run
argumentsThe command line arguments to pass. No substitution is performed
View on GitHub
Functions Reference