Exit exits the shell.
(cmdIO *exec.CmdIO, args ...string)
| 69 | |
| 70 | // Exit exits the shell. |
| 71 | func (sh *Shell) Exit(cmdIO *exec.CmdIO, args ...string) error { |
| 72 | os.Exit(0) |
| 73 | return nil |
| 74 | } |
| 75 | |
| 76 | // Set sets the given environment variable to the given value. |
| 77 | func (sh *Shell) Set(cmdIO *exec.CmdIO, args ...string) error { |