Documentation
¶
Index ¶
- func Exec(shell, command string) (error, string, string)
- func PowershellCommand(command string)
- func PowershellOutput(command string) (error, string, string)
- func PowershellOutputWithDir(command, dir string) (error, string, string)
- func Run(cmd string)
- func RunMulti(unixCmd string, winCmd string)
- func RunMultiOutput(unixCmd string, winCmd string) (error, string, string)
- func RunOutput(command string) (error, string, string)
- func ShellCommand(command string)
- func ShellOutput(command 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 ¶
func PowershellCommand(command string)
`PowershellCommand` executes the powershell command.
func PowershellOutput ¶
`PowershellOutput` returns the output of powershell command, and any errors.
func PowershellOutputWithDir ¶ added in v0.3.9
func RunMultiOutput ¶
`RunMultiOutput` returns the output of the shell command and the powershell 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.