run

package
v0.0.0-...-f39a356 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-2.0, GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Host = "LOCAL"

Functions

func Run

func Run(path string, params ...string) (err error)

func RunAndReturn

func RunAndReturn(path string, params ...string) (stdout, stderr string, err error)

func RunSilent

func RunSilent(path string, params ...string) (err error)

func Start

func Start(path string, args ...string) (result chan error)

func StartAndLog

func StartAndLog(logfile string, path string, args ...string) (result chan error)

Types

type CommandSet

type CommandSet struct {
	Commands    [][]string
	Names       []string
	TMux        bool
	SessionName string
	Detach      bool
}

func (*CommandSet) InParallel

func (self *CommandSet) InParallel() (err error)

type StderrError

type StderrError string

func (StderrError) Error

func (self StderrError) Error() string

Jump to

Keyboard shortcuts

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