// ShellInteractive starts a new interactive shell in a chroot and returns a cross-interface to its pseudo-terminal. func (ss *XShell) ShellInteractive() (xpty circuit.X, err error) { return xyexec.XCommand("sh", true, "-i").StartPTY([]string{"sane"}) }
// Tail … // XXX: Varargs doesn't work in cross-calls. Fix this. func (ss *XShell) Tail(arg ...string) (xstdin circuit.X, xstdout, xstderr circuit.X, err error) { return xyexec.XCommand("tail", false, arg...).Start() }
// Shell starts a new shell in a chroot and returns a cross-interface to its standard input, output and error. func (ss *XShell) Shell() (xstdin circuit.X, xstdout, xstderr circuit.X, err error) { return xyexec.XCommand("sh", true).Start() }