exec

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Execctl

type Execctl struct {
	Workdir string
	Command string
	Args    []string
	Cmd     *exec.Cmd
	// contains filtered or unexported fields
}

func New

func New(repos repository.Repos) Execctl

func (*Execctl) Exec

func (ctl *Execctl) Exec() error

func (*Execctl) Kill

func (ctl *Execctl) Kill() error

func (*Execctl) Write

func (ctl *Execctl) Write(p []byte) (n int, err error)

implements io.Writer In the furture, this function should print colored output.

Jump to

Keyboard shortcuts

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