shell

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: GPL-2.0 Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

type Shell struct {
	*exec.Cmd
}

func Exec

func Exec(name string, args ...string) *Shell

func (*Shell) Attach

func (s *Shell) Attach() *Shell

func (*Shell) Read

func (s *Shell) Read() (string, error)

func (*Shell) ReadOutput

func (s *Shell) ReadOutput() (string, error)

func (*Shell) Run

func (s *Shell) Run() error

func (*Shell) SetDir

func (s *Shell) SetDir(path string) *Shell

func (*Shell) SetEnv

func (s *Shell) SetEnv(env []string) *Shell

func (*Shell) Wait

func (s *Shell) Wait() error

Jump to

Keyboard shortcuts

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