process

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EnvDaemonName = "EO_DAEMON_IDX"
	EnvDaemonPath = "EO_DAEMON_PATH"
)

Variables

View Source
var (
	ErrorProcessHandlerConflict = errors.New("process handler name conflict")
)

Functions

func Cmd

func Cmd(name string, args []string) (*exec.Cmd, error)

func Register

func Register(name string, processHandler func()) error

Register 注册程序到进程处理器中

func Run

func Run() bool

run process

func RunDebug

func RunDebug(name string) bool

Types

This section is empty.