Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-83660

Gogo Shell interactive command handling

    Details

      Description

      In case Gogo Shell commands process input from the shell, this input is not provided, ungracefully, rendering such commands useless, and blocking the output:

      • Go To "Server Administration / Gogo Shell"
      • enter "disconnect"

      Result: Endless waiting for completion of the command, which never comes because the command is waiting for input (really disconnect? y/n)

      • Reload page, go back to "Gogo Shell"
      • Enter some command, e.g. "help echo". Observe the output from previous command (disconnect) being present before the current command's output

      Notice: "echo y | disconnect" disconnects the current session - as "exit" is not supported, it might be advisable to remove "disconnect" from the available commands as well. The disconnect is only for the current session though, just logging out/in again will make Gogo shell available again.

        Attachments

          Activity

            People

            Assignee:
            raven.song Raven Song
            Reporter:
            olaf.kock Olaf Kock
            Participants of an Issue:
            Recent user:
            Raven Song
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years ago

                Packages

                Version Package
                7.1.X
                Master