Active tells if the shell is active. i.e. Start is previously called.
()
| 219 | |
| 220 | // Active tells if the shell is active. i.e. Start is previously called. |
| 221 | func (s *Shell) Active() bool { |
| 222 | s.activeMutex.RLock() |
| 223 | defer s.activeMutex.RUnlock() |
| 224 | return s.active |
| 225 | } |
| 226 | |
| 227 | // Process runs shell using args in a non-interactive mode. |
| 228 | func (s *Shell) Process(args ...string) error { |
no outgoing calls
no test coverage detected