code: func (t *terminal) Run() error {
  	defer t.closeTTY()
  
  	cmd, err := prepareInteractiveCommand(t.ctx)
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	t.cmd = cmd
  
  	cmd.Stdout = t.tty
  	cmd.Stdin = t.tty
  	cmd.Stderr = t.tty
  	cmd.SysProcAttr.Setctty = true
  	cmd.SysProcAttr.Setsid = true
  
  	err = cmd.Start()
  	if err != nil {
  		return trace.Wrap(err)
  	}
  
  	return nil
  }
docs: // Run will run the terminal.