Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2896

Revisit CLI Ctrl-C handling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • CLI
    • None

      Ctrl-C CLI behaviour (similar to bash):

      • If auto-connect is enabled (-c option). If prompt occurs for credentials, typing Ctrl-C should exit the CLI process
      • As soon as we have reached the CLI prompt,Ctrl-C will NOT exit the CLI whatever the use-case.
      • Ctrl-C sent to terminal without any command running print a new line and new prompt.
      • Ctrl-C sent to terminal with command running interrupts the running command, print a new line and new prompt.
      • Ctrl-D sent to terminal without any text typed-in, the CLI exits.
      • Ctrl-D sent to terminal with some text typed-in, does nothing.

            jdenise@redhat.com Jean Francois Denise
            jdenise@redhat.com Jean Francois Denise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: