exec

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(command string, args []string) (string, error)

RunCommand runs a command on the host system. returns the stdout of the command and an err

func RunCommandPipe

func RunCommandPipe(command string, args []string) (string, error)

RunCommandPipe runs a command on the host system Returns combined output as string, and error

func RunInteractiveCommand added in v1.4.0

func RunInteractiveCommand(command string, args []string) error

RunInteractiveCommand runs a command on the host system interactively, with stdin/stdout/stderr connected Returns error

Types

This section is empty.

Jump to

Keyboard shortcuts

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