mexec

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteOptions

type ExecuteOptions struct {
	Name string

	Dir     string
	Shell   string
	Env     map[string]string
	Command []string
	Charset string

	Logger          mlog.ProcLogger
	IgnoreExecError bool
}

type Manager

type Manager interface {
	Signal(sig os.Signal)
	Execute(opts ExecuteOptions) (err error)
}

func NewManager

func NewManager() Manager

Jump to

Keyboard shortcuts

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