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()
Click to show internal directories.
Click to hide internal directories.