Documentation
¶
Overview ¶
Package child provides the functionality to execute child command line processes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RunConfig ¶
type RunConfig struct {
Stdout io.Writer
Stderr io.Writer
WorkingDir string
Command string
Args []string
// AllowedEnvKeys and DeniedEnvKeys respectively define an allow/deny list of
// patterns for environment variable keys. Keys are matched using
// [filepath.Match].
AllowedEnvKeys []string
DeniedEnvKeys []string
}
RunConfig are the inputs for a run operation.
Click to show internal directories.
Click to hide internal directories.