Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-483

Windows terminal Pump thread blocks the process from exiting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.8
    • None
    • None
    • None

      I am creating a TerminalConnection.
      Not starting it (to read on input stream).
      Using it for output handling.
      Then closing it.
      The process can't exit until a key is typed on the console.

      That is due to AbstractWindowsTerminal pump thread that is reading, can't be interrupted and is not a daemon.
      This thread should be a daemon thread in order to not stop the process from exiting.

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: