externalcommand

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(command string, timebridger Timebridger, logfile string) ([]byte, error)

Execute runs an external command string and automatically provides some output via console or logfile

func JoinCommand

func JoinCommand(command string, arguments ...string) string

JoinCommand joins all command slices with spaces

Types

type Timebridger

type Timebridger interface {
	Start(command string) error
	Update(update string) error
	Stop() error
}

Timebridger describes interface for time bridging implementations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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