cmd

package
v1.12.15-0...-edc2ec3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func (*Cmd) Get

func (c *Cmd) Get() *exec.Cmd

func (*Cmd) Run

func (c *Cmd) Run() (stdout, stderr string, err error)

type CmdExecutor

type CmdExecutor interface {
	Command(str string) *Cmd
}

func NewCmdExecutor

func NewCmdExecutor(executor string) CmdExecutor

func NewCmdExecutorInDir

func NewCmdExecutorInDir(executor, dir string) CmdExecutor

Jump to

Keyboard shortcuts

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