OULibraries/msys2-setup

msys2 shell command not found

Opened this issue · 3 comments

lo5an commented

It looks like the msys2 command has been changed from a .bat file to a .cmd file, but the MSYS2 Shell launcher isn't updated by the installer.

msys2/MSYS2-packages#625

lo5an commented

Looks like the updated does give instructions, though:

      WARNING: the shell starting scripts have been unified. Please update your
      shortcuts to the following targets, otherwise they will STOP WORKING:

          * MSYS2_ROOT\msys2_shell.cmd -mingw32
          * MSYS2_ROOT\msys2_shell.cmd -mingw64
          * MSYS2_ROOT\msys2_shell.cmd -msys

Here is what the full target for the alias should look like.
This one is for -msys

C:\Windows\System32\cmd.exe /A /Q /C C:\msys64\msys2_shell.cmd -msys

Is it supposed to pop a cmd.exe window briefly now? It didn't used to do this before.