exec

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteShell

func ExecuteShell(repoRoot string, args ...string) error

ExecuteShell executes the shell script that the scripts's name is the first element of args list

Types

type ExecResult

type ExecResult struct {
	Stdout   string
	Stderr   string
	ExitCode int
}

type ExecTask

type ExecTask struct {
	Command string
	Args    []string
	Env     []string
	Repo    string

	StreamStdio  bool
	PrintCommand bool
}

func (ExecTask) Execute

func (et ExecTask) Execute() (ExecResult, error)

Jump to

Keyboard shortcuts

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