Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1072

CLI gets stuck when wrong host/port is provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • SQL Shell
    • None

    Description

      Hi,

      When a wrong host or port provided in CLI, exceptions are thrown and the session is stuck, the prompt is not back until ctrl+c is executed.
      I need to be able to run a command like the below in batch mode and get the prompt back with a proper exit code when connect fails.

      tsql -c "\version" -h localhost -port 26003

      Thanks,
      Niv

      Attachments

        Activity

          People

            ykrips Jihun Kang
            nivo999 Niv Zvi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: