Skip to content

getDayOfWeek: fix hang on Windows 11 24H2+#358

Open
pps83 wants to merge 3 commits into
IbcAlpha:masterfrom
pps83:master-dayOfWeek
Open

getDayOfWeek: fix hang on Windows 11 24H2+#358
pps83 wants to merge 3 commits into
IbcAlpha:masterfrom
pps83:master-dayOfWeek

Conversation

@pps83
Copy link
Copy Markdown
Contributor

@pps83 pps83 commented May 15, 2026

wmic hangs indefinitely on recent Windows builds, leaving Gateway launches stuck after the banner with no log file and no Java spawned.

closes #357

pps83 added 2 commits May 15, 2026 18:16
wmic hangs indefinitely on recent Windows builds, leaving Gateway launches stuck after the banner with no log file and no Java spawned.

closes IbcAlpha#357
@pps83
Copy link
Copy Markdown
Contributor Author

pps83 commented May 15, 2026

After this change, it again deadlocked on this:

for /f "usebackq tokens=* skip=3" %%a in (`powershell -command "Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, OSArchitecture"`) do echo Operating system:  %%a

I had to switch it to echo Operating system: %OS% %PROCESSOR_ARCHITECTURE% to make it work. No idea what was wrong.

 + remove getDayOfWeek.bat (wmic is deprecated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IBC hangs on windows

1 participant