exec

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommands

func RunCommands(cmd *cobra.Command, args []string)

Types

type Cmd

type Cmd struct {
	*exec.Cmd
}

func Command

func Command(name string, arg ...string) *Cmd

func (*Cmd) InteractiveRun

func (c *Cmd) InteractiveRun() error

func (*Cmd) Run

func (c *Cmd) Run() error

func (*Cmd) String

func (c *Cmd) String() string

type Progress

type Progress struct {
	// contains filtered or unexported fields
}

func Start

func Start(p any) *Progress

func (Progress) Stop

func (p Progress) Stop(err error)

Jump to

Keyboard shortcuts

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