Lines Matching defs:processEnv
32 type processEnv struct { struct
33 wd string
61 func (env *processEnv) umask(newmask int) (oldmask int) {
65 func (env *processEnv) getenv(key string) (string, bool) {
69 func (env *processEnv) environ() []string {
73 func (env *processEnv) getwd() string {
77 func (env *processEnv) stdin() io.Reader {
81 func (env *processEnv) stdout() io.Writer {
85 func (env *processEnv) stderr() io.Writer {
89 func (env *processEnv) exec(cmd *command) error {
93 func (env *processEnv) runWithTimeout(cmd *command, duration time.Duration) error {
97 …nc (env *processEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {