Skip to content

Instantly share code, notes, and snippets.

@LukeMS
Created January 5, 2017 18:13
Show Gist options
  • Save LukeMS/2a833f961ec3aa99403f7dbce6d31cb1 to your computer and use it in GitHub Desktop.
Save LukeMS/2a833f961ec3aa99403f7dbce6d31cb1 to your computer and use it in GitHub Desktop.
Run msys32 bash commands directly from windows (cmd, run, etc.)
:: Pass as a string whatever command you want msys32's bash to run
:: e.g. msys2-run "cd folder_at_msys2_home && ./script_at_folder"
C:\msys32\usr\bin\bash -l -c %1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment