MCPcopy Index your code
hub / github.com/abiosoft/ishell / Active

Method Active

ishell.go:221–225  ·  view source on GitHub ↗

Active tells if the shell is active. i.e. Start is previously called.

()

Source from the content-addressed store, hash-verified

219
220// Active tells if the shell is active. i.e. Start is previously called.
221func (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.
228func (s *Shell) Process(args ...string) error {

Callers 3

stopMethod · 0.95
prepareRunMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected