cmdtest

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdTest

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

func NewCmdTest

func NewCmdTest(cmd *exec.Cmd) *CmdTest

func (*CmdTest) Output

func (c *CmdTest) Output() []string

func (*CmdTest) ReadLine

func (c *CmdTest) ReadLine() (line string)

func (*CmdTest) Run

func (c *CmdTest) Run() <-chan string

func (*CmdTest) Write

func (c *CmdTest) Write(data string)

Jump to

Keyboard shortcuts

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