Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-573

set_gopath.bat doesn't work in PowerShell

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.8.0-rc5
    • All Tools
    • None
    • Windows 2012 on AWS, 64-bit
    • Needed

    Description

      Running set_gopath.bat from the Windows PowerShell doesn't actually set the environment variables.

      Apparently, while Command Prompt uses set to set environment variables, you need to use $Env:<Varname> = foo to set it in PowerShell.

      I realize PowerShell is no one's favorite thing, but it still seems like a bug.

      Attachments

        Activity

          People

            adinoyi.omuya@mongodb.com Adinoyi Omuya
            allison.moore@mongodb.com Allison Reinheimer Moore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: