process

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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.

Jump to

Keyboard shortcuts

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