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

set_gopath.bat doesn't work in PowerShell

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc5
    • Component/s: All Tools
    • Labels:
      None
    • Environment:
      Windows 2012 on AWS, 64-bit
    • Needed

      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.

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

              Created:
              Updated:
              Resolved: