SetWorkDir sets the working directory for command execution.
(workDir string)
| 54 | |
| 55 | // SetWorkDir sets the working directory for command execution. |
| 56 | func (e *executor) SetWorkDir(workDir string) *executor { |
| 57 | e.workDir = workDir |
| 58 | return e |
| 59 | } |
| 60 | |
| 61 | // SetLogPath sets the file path for execution logs (environment variables, command line, output). |
| 62 | func (e *executor) SetLogPath(logPath string) *executor { |
no outgoing calls