process

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

type Process struct {
	// contains filtered or unexported fields
}

func New

func New(path string, params []string) *Process

func NewWithEnvs

func NewWithEnvs(path string, params []string, envs []string) *Process

func (*Process) ErrorOutput

func (p *Process) ErrorOutput() string

func (*Process) SetBeforeStopHandler

func (p *Process) SetBeforeStopHandler(fn func())

func (*Process) Start

func (p *Process) Start() error

func (*Process) StdOutput

func (p *Process) StdOutput() string

func (*Process) Stop

func (p *Process) Stop() error

Jump to

Keyboard shortcuts

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