shell

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MvnBin       string
	TpSleepBin   string
	TpVersionBin string
	JavaBin      string
)

Functions

func Execute

func Execute(command string) *gocmd.Cmd

Execute executes given command in the current directory.

func ExecuteAll

func ExecuteAll(commands ...string)

ExecuteAll executes all passed commands in sequence, waiting for every single one to finish. before starting next one.

func ExecuteCommand

func ExecuteCommand(outputChan chan string, execute func() (string, error)) func()

func ExecuteInDir

func ExecuteInDir(dir, name string, args ...string) *gocmd.Cmd

ExecuteInDir executes given command in the defined directory Redirects streams to stdout/err.

func GetProjectDir

func GetProjectDir() string

func StubShellCommands

func StubShellCommands()

Types

This section is empty.

Jump to

Keyboard shortcuts

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