shell

package
v2.5.3+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package shell centralizes common exec.Cmd functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(binary string, args ...string) (ok bool)

Exec attempts to run the given command, using logger to give consistent formatting to whatever the command spits out if an error occurs

func ExecSubgroup

func ExecSubgroup(binary string, args ...string) (ok bool)

ExecSubgroup is just like Exec, but sets the process to run in its own group so it doesn't get killed on CTRL+C

Types

This section is empty.

Jump to

Keyboard shortcuts

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