Documentation
¶
Overview ¶
Package processgroup runs a subprocess with identity-safe leader and qualified descendant cleanup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Dir string
Env []string
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
BeforeStart func() error
}
Options configures one supervised process without exposing os/exec mutation after startup.
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
Process owns one subprocess and any descendants observed by the platform tracker.
Click to show internal directories.
Click to hide internal directories.