code: func NewShellProgramFuncWithEnv(name string, env *map[string]string) ProgramFunc {
  	return func(args ...string) Program {
  		return &Shell{cmd: createProgramCmdRedirectErr(name, args, env)}
  	}
  }
docs: // NewShellProgramFuncWithEnv creates programs that are executed in a Shell with environment variables