Help us shape the future of Go! Take the 2026 Go Developer Survey

term

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 {
	Hide bool

	Stdout, Stderr, Stdin bool

	Bin  string
	Args []string
}

func NewCommand

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

func (*Command) Make

func (c *Command) Make() *exec.Cmd

TODO: Remove this to release... or not...

func (*Command) Output

func (c *Command) Output() (string, error)

func (*Command) Run

func (c *Command) Run() error

Jump to

Keyboard shortcuts

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