commands

package
v0.3.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2018 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChocoRun

func ChocoRun(commands ...string) (output []byte, err error)

ChocoRun run chocolatey command with full choco path

func PSRun

func PSRun(command string) (output []byte, err error)

PSRun run a command inside powershell

func PSRunBypass

func PSRunBypass(command string) (output []byte, err error)

PSRunBypass bypassess the security that may block commands

func Run

func Run(commands ...string) (output []byte, err error)

Run a simple version of exec.Command + cmd.CombinedOutput

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL