commandEnvExecer is an agentexec.Execer that uses a CommandEnv to determine the shell, working directory, and environment variables for commands. It wraps another agentexec.Execer to provide the necessary context.
| 21 | // for commands. It wraps another agentexec.Execer to provide the |
| 22 | // necessary context. |
| 23 | type commandEnvExecer struct { |
| 24 | logger slog.Logger |
| 25 | commandEnv CommandEnv |
| 26 | execer agentexec.Execer |
| 27 | } |
| 28 | |
| 29 | func newCommandEnvExecer( |
| 30 | logger slog.Logger, |
nothing calls this directly
no outgoing calls
no test coverage detected