Skip to main content

start msys2 without bat

Project description

msys2_wrapper

A Python wrapper for starting msys2 without bat

Prereq

Has installed MSYS2 at disk root (e.g. C:/msys64), or msys2.cmd or msys2_shell.cmd can be found in PATH.

also supports scoop-installed msys2.

In case of multiple MSYS2 detected, it will launch the first found in PATH, and if not found, C:/msys64 was checked, until Z:/msys64.

You can also create a file C:/Users/[your user name]/.config/msys2_wrapper.ini to override the default, with the following contents:

[default]
base = "D:/msys64"

Usage

A console launcher:

msys2c /?
Usage:
    msys2c [options] [login shell parameters]

Options:
    -mingw32 | -mingw64 | -ucrt64 | -clang64 |
    -msys[2] | -clangarm64           Set shell type
    -defterm | -mintty | -conemu     Set terminal type
    -here                            Use current directory as working
                                     directory
    -where DIRECTORY                 Use specified DIRECTORY as working
                                     directory
    -[use-]full-path                 Use full current PATH variable
                                     instead of trimming to minimal
    -no-start                        Do not use "start" command and
                                     return login shell resulting
                                     errorcode as this batch file
                                     resulting errorcode
    -shell SHELL                     Set login shell
    -search PACKAGE                  search pacakge using web browser
    -help | --help | -? | /?         Display this help and exit

Any parameter that cannot be treated as valid option and all
following parameters are passed as login shell command parameters.

A GUI launcher msys2w was provided for launch with default mintty .

Source code

https://github.com/soda92/msys2_wrapper

License

APACHE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msys2_wrapper-2025.3.5.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msys2_wrapper-2025.3.5.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file msys2_wrapper-2025.3.5.1.tar.gz.

File metadata

  • Download URL: msys2_wrapper-2025.3.5.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for msys2_wrapper-2025.3.5.1.tar.gz
Algorithm Hash digest
SHA256 b44da406791797ff8ad250ca8c66e4cb8d91ac4a36eb3d92568f0a32e9193134
MD5 12af603c0f2fcda1275ce401b3eff952
BLAKE2b-256 ebe32b7cd6f3614986dd743281bd68ba53162455f865579603368618c87373f0

See more details on using hashes here.

File details

Details for the file msys2_wrapper-2025.3.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for msys2_wrapper-2025.3.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 317a1c1a5fe1442577f0dcd060ef8208e90b86ce3e3bf5c66a963495410a4286
MD5 6ecea50ee124450331250da846a01c09
BLAKE2b-256 7372d7ceee8d544af9b42459cc7614e61a1e7d7e220818e7afa352269abb3e56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page