vproc

package
v0.0.0-...-bcffac6 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vproc

type Vproc struct {
	Cmd          *exec.Cmd
	Ps           *os.ProcessState
	Id           uint64
	SendResponse bool
}

func NewProcess

func NewProcess(id uint64, bin string, cmd string, args []string, stdout_file, stderr_file string) (*Vproc, error)

func (*Vproc) Kill

func (vp *Vproc) Kill() error

func (*Vproc) Size

func (vp *Vproc) Size() int

func (*Vproc) Start

func (vp *Vproc) Start() error

func (*Vproc) Wait

func (vp *Vproc) Wait() (*os.ProcessState, error)

Jump to

Keyboard shortcuts

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