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

set_gopath.bat doesn't work in PowerShell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.8.0-rc5
    • Fix Version/s: None
    • Component/s: All Tools
    • Labels:
      None
    • Environment:
      Windows 2012 on AWS, 64-bit

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: