Documentation ¶
Index ¶
- func Exec(shell, command string) (error, string, string)
- func PowershellCommand(command string, environmentVariables []string)
- func PowershellOutput(command string, environmentVariables []string) (error, string, string)
- func PowershellOutputWithDir(command, dir string) (error, string, string)
- func Run(cmd string, environmentVariables []string)
- func RunMulti(unixCmd string, winCmd string, environmentVariables []string)
- func RunMultiOutput(unixCmd string, winCmd string) (error, string, string)
- func RunOutput(command string) (error, string, string)
- func ShellCommand(command string, environmentVariables []string)
- func ShellOutput(command string, environmentVariables []string) (error, string, string)
- func ShellOutputWithDir(command, dir string) (error, string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PowershellCommand ¶
`PowershellCommand` executes the powershell command.
func PowershellOutput ¶
`PowershellOutput` returns the output of powershell command, and any errors.
func PowershellOutputWithDir ¶
func RunMultiOutput ¶
`RunMultiOutput` returns the output of the shell command and the powershell command
func ShellCommand ¶
`ShellCommand` executes the shell command.
func ShellOutput ¶
`ShellOutput` returns the output of shell command, and any errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.