exec

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 7 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 (*Command) Cancel

func (c *Command) Cancel()

func (*Command) Input added in v0.0.5

func (c *Command) Input(param string)

func (*Command) IsRun

func (c *Command) IsRun() bool

func (*Command) Run

func (c *Command) Run(name string, args ...string) error

func (*Command) SetDir

func (c *Command) SetDir(dir string)

func (*Command) Stderr

func (c *Command) Stderr() string

func (*Command) Stdout

func (c *Command) Stdout() string

type ShellCommand added in v0.0.5

type ShellCommand interface {
	IsRun() bool
	Cancel()
	Input(param string)
	Stderr() string
	Stdout() string
	SetDir(dir string)
}

Jump to

Keyboard shortcuts

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