Documentation ¶
Index ¶
- Constants
- type Runner
- func (c *Runner) CommandExists(cmdName string) (exists bool)
- func (c *Runner) RunCommand(cmdName string, args ...string) (stdout, stderr string, exitStatus int, err error)
- func (c *Runner) RunCommandQuietly(cmdName string, args ...string) (stdout, stderr string, exitStatus int, err error)
- func (c *Runner) RunCommandWithInput(input, cmdName string, args ...string) (stdout, stderr string, exitStatus int, err error)
- func (c *Runner) RunComplexCommand(cmd system.Command) (stdout, stderr string, exitStatus int, err error)
- func (c *Runner) RunComplexCommandAsync(cmd system.Command) (system.Process, error)
Constants ¶
View Source
const Executable = "powershell.exe"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
func (*Runner) CommandExists ¶
func (*Runner) RunCommand ¶
func (*Runner) RunCommandQuietly ¶
func (*Runner) RunCommandWithInput ¶
func (*Runner) RunComplexCommand ¶
Click to show internal directories.
Click to hide internal directories.