msys2: not finding windows programs despite (MSYS2_PATH_TYPE = inherit)

Viewed 8567

Using MSYS2 64-bit version 20161025 on Windows 10...

I'm unable to get msys2 to recognize programs in the windows path. For example, after installing Go version 1.8.3 using the windows the installer: (1) Cygwin finds go.exe (2) the Windows command prompt finds go.exe but (3) MSYS2 does not.

Please refer to attached image. Thanks in advance. enter image description here

1 Answers

Run msys2_shell.cmd -use-full-path

or

uncomment MSYS2_PATH_TYPE=inherit in msys2.ini (can be found in the installation directory of MSYS2).


Related GitHub issue regarding the inherit flag.

Related