subprocess

package
v0.0.0-...-aa2ce78 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultKillTimeout = 3 * time.Second
)

Functions

This section is empty.

Types

type Subprocess

type Subprocess struct {
	*exec.Cmd

	KillTimeout  time.Duration
	ProxySignals bool
	// contains filtered or unexported fields
}

func NewSubprocess

func NewSubprocess(name string, arg ...string) *Subprocess

func (*Subprocess) Serve

func (s *Subprocess) Serve()

func (*Subprocess) Stop

func (s *Subprocess) Stop()

Jump to

Keyboard shortcuts

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