Documentation
¶
Overview ¶
Package process has helper code for managing server processes and connections to them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StartOptions ¶
type StartOptions struct {
// Command line arguments for starting the process.
Args []string
// Environment variables for starting the process.
Env *shell.Env
// Standard output pipe for the new process.
Stdout io.Writer
// Standard error pipe for the new process.
Stderr io.Writer
// Should all stderr and and stdout also be logged to the logger?
Verbose bool
// PortFile, if not "", is a file that can be search if we can
// not find the output on stdout
PortFile string
// If not "", the working directory for this command
WorkingDir string
}
StartOptions holds the options that can be passed to Start.
Click to show internal directories.
Click to hide internal directories.