Hi David,
On Fri, 6 Nov 2015, David Macek wrote:
> I created a new launcher for MSYS2 and I'd like some feedback from you,
> MSYS2 users and developers. The launcher is called `msys2-launcher` and
> is now available in the repositories, but it's not yet part of the MSYS2
> core distribution. The launcher only supports mintty at the moment,
> because it depends on its AppUserModel manipulation features.
Excellent work! I agree with your rationales to replace the .bat with the
.exe (after all, I faced a lot of backlash for converting Git for Windows'
main entry point from a batch file into an executable myself, but I have
not heard of *any* good argument to keep the .bat file, what with its
serious shortcomings).
I am notoriously short on time these days, so I only had a quick glance at
the source code.
The only questions I have right now are:
- how about extending the .ini so it can call a specific command if none
was specified on the command-line?
- would it not make sense to adjust the `PATH` in the launcher, given that
calling `msys2-launcher blub.exe` skips the entire /etc/profile
including adjusting the `PATH`?
It would be nice if I could get rid of my custom
`git-bash.exe`/`git-cmd.exe` and replace it with an appropriately
configured msys2-launcher; for that to work, I would still need to figure
out a way how to turn this into `git-cmd.exe` (which is a *console*
program that only adjusts the environment variables but then calls
`cmd.exe` instead of `mintty.exe`/`bash.exe`).
Ciao,
Dscho