process

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 3

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 added in v0.37.1

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