Process runs shell using args in a non-interactive mode.
(args ...string)
| 226 | |
| 227 | // Process runs shell using args in a non-interactive mode. |
| 228 | func (s *Shell) Process(args ...string) error { |
| 229 | return handleInput(s, args) |
| 230 | } |
| 231 | |
| 232 | func handleInput(s *Shell, line []string) error { |
| 233 | handled, err := s.handleCommand(line) |