-
Notifications
You must be signed in to change notification settings - Fork 41
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
Mithril client does not work in Windows Power Shell #2199
Comments
I can't reproduce on a Windows 11 It works on powershell 7: C:\Users\User\Documents\Mithril\bin> $PSVersionTable.PSVersion
Major Minor Patch PreReleaseLabel BuildLabel
----- ----- ----- --------------- ----------
7 4 6
C:\Users\User\Documents\Mithril\bin> .\mithril-client --version
mithril-client 0.10.5+c6c7eba On powershell 5 (the version bundled with windows): PS C:\Users\User\Documents\Mithril\bin> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 22621 4391
PS C:\Users\User\Documents\Mithril\bin> ./mithril-client --version
mithril-client 0.10.5+c6c7eba It also work in the command prompt: C:\Users\User\Documents\Mithril\bin>ver
Microsoft Windows [version 10.0.22631.4602]
C:\Users\User\Documents\Mithril\bin>mithril-client.exe --version
mithril-client 0.10.5+c6c7eba And it work when building the code locally (here running in powershell 7): C:\Dev\src\mithril [(2450.0)]> git status
HEAD detached at 2450.0
nothing to commit, working tree clean
C:\Dev\src\mithril [(2450.0)]> cargo run --bin mithril-client --release --features bundle_openssl -- --version
cargo 1.84.0 (66221abde 2024-11-19) running on `x86_64-pc-windows-msvc` target `x86_64-pc-windows-msvc`
Finished `release` profile [optimized] target(s) in 0.49s
Running `target\release\mithril-client.exe --version`
mithril-client 0.10.5 I'm currently upgrading my windows to |
I was able to reproduce the bug with these versions:
But now it works after restarting Windows 🤔 |
Can't reproduce on Windows 11
|
Why
The Mithril client does not work in Power Shell (as explained in this discord thread: https://discord.com/channels/826816523368005654/1014019542504185876/1324413079731179520). This may be due to the printing of output not working properly.
What
Fix the client to work in Power Shell.
How
Fix the problemThe text was updated successfully, but these errors were encountered: