Comments (10)
There is an additional repro step:
- Have "Admin by Request" installed and configured (with unknown config details).
Step 0 makes it unrealistic for me to try to reproduce the issue. And it sounds like it would likely interfere with running a debugger.
What shell are you using? CMD.exe? If so, then it's also running %cmder_root%\vendor\clink\clink_x64.exe
(or x86?) as administrator, and it sounds like Admin by Request would be trying to intercept that. I'm a little surprised the lambda prompt shows up at all.
Clink is what shows the prompt and accepts input at the command line in Cmder. I'm the maintainer of Clink.
Is it possible for you to download .zip files with older versions of Clink and extract to replace the file in vendor\clink\ and narrow down a specific version of Clink that's the first version that doesn't work? I.e. find both the last version of Clink that works, and the first version that doesn't?
If you can narrow that down, then there's a slim chance that maybe Clink is doing something that could be changed to make Admin by Request happy. But I suspect it's more likely that either Admin by Request has changed, or even more likely that an anti-malware suite is really what's interfering (i.e. maybe Admin by Request isn't actually relevant).
Have you tried checking your anti-malware suite to see recent block or quarantine actions it's performed?
from cmder.
@chrisant996 Quick note, Cmder can display the Ī» in the prompt if Clink fails, I added it back as a fallback or in case Clink is explicitly disabled by the user using a switch:
Line 224 in a2e4884
Moreover it can also be displayed on other shells as well, for example Powershell.
In any case I asked the two tests above to see if this issue is even related to Cmder (and/or Clink), it might be an issue with ConEmu, and we don't know if it also happens in any of the other shells.
from cmder.
@DRSDavidSoft I also need to look at VSCode and see if they have released a version that has our feature request in it so we can update the WIndows Terminal Releases.
from cmder.
As part of debugging this issue I would like to ask to perform two tests to see what we can do about compatibility with this "Admin by Request" program.
Note
This will help us determine the relevant component that imay be affected by this issue.
Test 1
-
First, please head over to this wiki page and set up the `CMDER_ROOT environment variable:
https://github.com/cmderdev/cmder/wiki/Setting-up-Environment-Variables -
Now, set up the Cmder's shell to be available from launching a
Cmd.exe
window
https://github.com/cmderdev/cmder/wiki/Cmder's-shell-in-other-terminals
Now open an elevated Command Prompt window and run cs
to get a Cmder shell. Please report how it works.
Test 2
Please do the following items:
-
Run other shells in Cmder in elevated mode beside the default one (that is powered by Clink), for example, run the bash and powershell shells. Then report back how it works.
-
Head over to the vanilla ConEmu's download page over here and download the latest version:
https://conemu.github.io/en/Downloads.html
Then, run an elevated ConEmu terminal and use the cmd.exe shell (this is the default task in it) and report back how it works.
from cmder.
Interestingly today whilst having a fiddle to prepare this bug report, I've found that if I right click the tab and choose "Restart or Duplicate" and choose any of the first 3 options then the new split, or the new tab will accept keystrokes, but the original half will still not accept any keystrokes
from cmder.
@DRSDavidSoft are you also handling this on the newer performance optimized Cmder run once init.bat
template that gets imterpolated into the user owned %cmder_root%\config\user_init.cmd
?
from cmder.
@daxgames Excellent question; I should review the code, I haven't really had time yet to review the development
branch that has the speed optimizations in it, that's actually the main reason that development
isn't merged into master
yet as I would like to review it and make sure these minor details, such as the plain cmd.exe prompt as fallback, is integrated correctly into the new version. Sidenote thanks for implementing it, and once again sorry I haven't yet had time to review it -- in a couple of weeks I'll be done with the current assigned tasks to me at our workplace and I can once again put more time and focus on maintaining and development of the next release of Cmder.
from cmder.
@daxgames Exactly, v1.4 of Cmder going to include some exciting changes! (BTW If we drop ConEmu at some point, we can confidently release an ARM64 version of Cmder since currently it's the only dependency of Cmder that doesn't support ARM64 officially)
from cmder.
Added CMDER_ROOT environment variable
Updated the system to allow Cmder's shell to be available from launching a Cmd.exe window
mintty as Admin works OK (font is strangely small however)
Git Bash freezes
Cmder as Admin freezes
Powershell, Powershell core freezes
WSL freezes
system bash, freeze and failure ("conemu-cyg-64.exe --wsl -cur_console:pm:/mnt") : (wslbridge error: failed to start backend process note: backend error output: wslbridge-backend: wslbridge-backend.cc:45: int {anonymous}::connectSocket(int, const string&): Assertion 'connectRet == 0' failed.
Downloaded latest version from ConEmu's download page
Ran the elevated ConEmu terminal and use the cmd.exe shell and it froze
When running an admin prompt we get the following from Admin by Request
from cmder.
That confirms it is NOT a Clink issue.
from cmder.
Related Issues (20)
- [Bug] Midnight Commander and msys HOT 6
- [Bug] 'git --version' returned an improper version string HOT 17
- [Bug] Weird output and process hangs
- [Bug] development builds `cmder.exe` always overwrites the terminal emulator settings files. HOT 11
- CVE-2024-32002 HOT 5
- Question: Alter the Tab key behavior to keep the "/" when typing HOT 10
- Question: is there a way to keep using the latest version of cmder on windows 7? HOT 1
- Question: Is there a way to get the output of the last command? HOT 5
- [Bug] Wired caraters on the output when using `eza` command on cmder only HOT 4
- [Bug] I cannot open Cmder.exe after download. HOT 12
- [Bug] Cmder freezes when using Unstructured.io HOT 4
- Question: yaquake HOT 2
- [Bug] When Git's path contains a closing parenthesis, "cmd" tasks end early and display '\Git\cmd\git.exe" found." was unexpected at this time.' HOT 3
- Question: Alias arguments without space as separator not working HOT 3
- Question: Bad performance? HOT 4
- [Feature request] Add icons to the contents of the result of the `ls` command like "logo-ls" HOT 3
- Question: how can i list dirictories HOT 1
- Question: cmder doesn't create a new line when clicking 'enter key' when running adb logcat. how to print a new line at this time? HOT 2
- Question: Intune Deployment - Win32 App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmder.