← Back to context

Comment by tootie

8 years ago

Git Bash is based on msys/mingw which have been around a while. I think both mingw and cygwin will both be deprecated in favor Windows Subsystem for Linux.

Highly unlikely. You'd only deprecate them if they serve the exact same purpose, but they don't. Many users will switch, but not those who want a posix runtime environment for a win32 executable that can run on machines that don't have WSL installed (cygwin, and the fork msys2 which git-bash is based on); or to use the gcc compilers to target win32 executables that use the windows native (non-posix) runtime - mingw. Do you know that you can use gcc to build windows executables and dlls from Linux, Mac, or WSL? That's mingw and it's not going away.

I have bash scripts within cygwin that control Windows firewall via netsh interface.

I still can't run those command under Windows Subsystem for Linux.

  • Wouldn't that be much easier to do with PowerShell? I haven't ever attempted, but I'm assuming...

    • I use mac, windows, linux, embedded linux all the time. bash/python are just native languages for me.

      The powershell's syntax is just too esoteric for me. I did tried that a few times.