exec

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

func NewCommand

func NewCommand(cmd string, args ...string) *Command

func (*Command) Run

func (c *Command) Run() error

func (*Command) WithEnvs

func (c *Command) WithEnvs(env map[string]string) *Command

func (*Command) WithWorkingDir

func (c *Command) WithWorkingDir(dir string) *Command

Jump to

Keyboard shortcuts

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