command

package
v0.0.0-...-8beeda4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(cmd *exec.Cmd, wg *sync.WaitGroup)

Execute executes an external process

func ExecuteGroup

func ExecuteGroup(cmds []*exec.Cmd)

ExecuteGroup executes a group of external processes

func Spawn

func Spawn(cmd *exec.Cmd, wg *sync.WaitGroup)

Spawn spawn a child process

func SpawnGroup

func SpawnGroup(cmds []*exec.Cmd)

SpawnGroup spawns a group of processes

func SpawnMapGroup

func SpawnMapGroup(mapCmds map[string][]*exec.Cmd)

SpawnMapGroup Spawns a group of sync processes

func Start

func Start(cmd *exec.Cmd)

Start Start a process

Types

This section is empty.

Jump to

Keyboard shortcuts

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