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

shell

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: GPL-2.0 Imports: 4 Imported by: 18

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