MCPcopy Create free account
hub / github.com/cogentcore/core / Close

Method Close

shell/shell.go:159–162  ·  view source on GitHub ↗

Close closes any resources associated with the shell, including terminating any commands that are not running "nohup" in the background.

()

Source from the content-addressed store, hash-verified

157// including terminating any commands that are not running "nohup"
158// in the background.
159func (sh *Shell) Close() {
160 sh.CloseSSH()
161 // todo: kill jobs etc
162}
163
164// CloseSSH closes all open ssh client connections
165func (sh *Shell) CloseSSH() {

Callers

nothing calls this directly

Calls 1

CloseSSHMethod · 0.95

Tested by

no test coverage detected