Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6372

Prevent qpid-server.bat modifying the environment of its calling command shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18, 0.22, 0.30
    • 0.31
    • Broker-J
    • None

    Description

      Running qpid-server.bat currently has side effects on the environment of its caller. The changes it makes to environment variables such as QPID_HOME, CLASSPATH etc become visible in the environment of the caller. This can cause surprising results when the user later tries to run other programs including other versions of Qpid within the same command window.

      The batch file should use SETLOCAL to localise environment changes.

      Attachments

        Activity

          People

            kwall Keith Wall
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: