exec

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2015 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OttoSkipCleanupEnvVar = "OTTO_SKIP_CLEANUP"

OttoSkipCleanupEnvVar, when set, tells Otto to avoid cleaning up its temporary workspace files, which can be helpful for debugging.

Variables

This section is empty.

Functions

func Run

func Run(uiVal ui.Ui, cmd *exec.Cmd) error

Run runs the given command and streams all the output to the given UI. It also connects stdin properly so that input works as expected.

func ShouldCleanup

func ShouldCleanup() bool

ShouldCleanup returns true for normal operation. It returns false if the user requested that Otto avoid cleaning up its temporary files for debugging purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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