os

package
v2.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyEnv = []string{}

Functions

func CommandRun

func CommandRun(commandText string, env []string, arguments ...string) error

CommandRun executes some text as a command. This is assumed to be text that will be run by a shell so we need to write out the command to a temporary file and then ask the shell to execute it, after which the temporary file is removed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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