Indeed. MSYS2 programs link to the msys dll, yes, and that performs the path conversions at the right times yes, so when a program asks to spawn another program, msys2 intercepts and translates the MSYS2 paths it sees (sometimes it guesses this wrong) to Windows paths, iff the program to run is *not* another MSYS2 program (which doesn't need or want native Windows paths). This is one of the key things that MSYS2 does and Cygwin does not do, it's a part of MSYS2's sympathy for the Windows OS.
On Wed, Apr 30, 2014 at 8:06 AM, Ray Donnelly <[email protected]> wrote: > I think if you set MSYSTEM=MSYS and called bash with the arguments "-i > --login" then that might be enough to get the same environment, Alexey > will know better though. > > On Wed, Apr 30, 2014 at 8:03 AM, Stephen Leake > <[email protected]> wrote: >> Ray Donnelly <[email protected]> writes: >> >>> It may be that you need to get the latest config.sub and config.guess from >>> savannah that includes msys2 detection. >> >> That would help, but it's not hard specifying --build=. >> >> One problem I have is I prefer to run bash under Emacs, but I'm >> apparently not setting up msys2 bash in the same way that >> msys2_shell.bat does, because I get different results when I run under >> Emacs vs in msys2_shell.bat. I'll read thru msys2_shell.bat again ... >> >> -- >> -- Stephe >> >> ------------------------------------------------------------------------------ >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE >> Instantly run your Selenium tests across 300+ browser/OS combos. Get >> unparalleled scalability from the best Selenium testing platform available. >> Simple to use. Nothing to install. Get started now for free." >> http://p.sf.net/sfu/SauceLabs >> _______________________________________________ >> Msys2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/msys2-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
