win-sudo icon indicating copy to clipboard operation
win-sudo copied to clipboard

commands with sudo hang, su hangs

Open michaelchanwork opened this issue 5 years ago • 1 comments

After some fixes/handling of spaces in https://github.com/imachug/win-sudo/pull/43 (Which I can't test to have worked without the fixes, and currently believe the issue to be unrelated to aforementioned fixes)

Running su or sudo any command the terminal will simply hang indefinitely, though I am still able to ctrl+c out.

Windows 10, version 1909

$ bash --version
bash --version
GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

michaelchanwork avatar Jul 23 '20 17:07 michaelchanwork

I understand the issue with user name with spaces that is already fixed (which is true for my case), but I'm still having the same issue with su hanging after windows prompts for admin permissions. This is a really cool project regardless though, hopefully this can be fixed.

neveratdennys avatar Jul 12 '22 21:07 neveratdennys

may this be the same problem as #36? It works for me inside mintty (using a pty) but not e.g. windows terminal (unsing the windows console)

riedel avatar Jan 16 '23 22:01 riedel

Fixed in 5b2d65b4d38ee612598fa94980dacfa6e64b79c7 ?

riedel avatar Mar 04 '23 20:03 riedel

Just verified and looks like it's working for me now. Thanks!

neveratdennys avatar Mar 05 '23 01:03 neveratdennys

Thanks for the fix again!

purplesyringa avatar Mar 05 '23 09:03 purplesyringa