Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSystemShellPath ¶
GetSystemShellPath - Find bash or sh
Types ¶
type Shell ¶
type Shell struct { ID uint64 Command *exec.Cmd Stdout io.ReadCloser Stdin io.WriteCloser }
Shell - Struct to hold shell related data
func StartInteractive ¶
StartInteractive - Start a shell
func (*Shell) StartAndWait ¶
func (s *Shell) StartAndWait()
StartAndWait starts a system shell then waits for it to complete
Click to show internal directories.
Click to hide internal directories.