-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSYS2_shell.cmd file not launching #3102
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This problem persists even after doing core and full system upgrade of msys2 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
Try a clean install with latest installer. Need more info to understand the issue. Make sure things are not deleted or modified by antivirus software. Check if the launchers are working e.g. mingw64.exe etc. |
What command did you run with that msys2_shell.cmd and in which shell? |
i manually launched the launchers' exe-s from |
Found a maybe related pull: msys2/msys2-installer#50 |
This comment was marked as resolved.
This comment was marked as resolved.
so, i tried running the script from an already running $ cd /c/msys64
$ cmd
C:\msys64> And all of the following commands worked i.e. launched the Ref:
msys2_shell.cmd script with various argumentsmsys2_shell.cmd
msys2_shell.cmd -msys
msys2_shell.cmd -ucrt64
msys2_shell.cmd -clang64
msys2_shell.cmd -clangarm64
msys2_shell.cmd -clang32
msys2_shell.cmd -mingw64
msys2_shell.cmd -ming32 So, the error seems to be in running the script file from explorer i guess? |
now it seems to make sense 😅 i am guessing that
|
yeah.... i found it. So,
so, this was caused by same reason as: wez/wezterm#2909 |
oh and yeah, this above related pull from '22-09-04 release tag of msys2-installer, was really related to this issue. brilliant. having .exe installers elevates from this dependence on the nice. |
Update: 2023-01-24 This issue is resolved. So, i will be self hiding all the non-essential comments of mine.
Go to #3102 (comment) for some more details.
.cmd
scripts have to run withcmd
shell.cmd
scripts run with the shell defined inComSpec
in environment variable,(wow, unix was truly wayyyy ahead of MS at that time, i wonder why it didn't get that popular?? 🤔)
So, for
.cmd
scripts to work on double clicking, it has to have this value:COMSPEC=C:\WINDOWS\system32\cmd.exe
env | grep COMSPEC
Describe the issue
MSYS2 MSYS or any other launchers (i.e. those 4 shortcuts to
C:\msys64\msys2_shell.cmd
with different arguments) thereof doesnt launch.Old description (modified)
Redundant verbosity
Steps to Reproduce the Problem
Now: (from some months) Some window seems to flash and disappear, nothing visible and persistent seems to happen.
Earlier: It used to launch the terminal window.
Update: it had nothing to do with updates
Additional Context:
my msys2 has pro'lly never been fully upgraded since 2021-December, so, it is pending upgrades of 162 packages (241 MiB download size)is there any particular package which requires updating for this to be fixed?Duplicate search: msys not launching
Screenshots etc not needed any more
Screenshots:
Msys.Not.Launching.Vwcpxmnzgu-1.mp4
Environment
The text was updated successfully, but these errors were encountered: