-
Notifications
You must be signed in to change notification settings - Fork 146
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
Clink very often does not start #367
Comments
So, add exception to defender... |
@gpm7315
The title of this issue says Clink does not start. But the description and screen shots show that Clink starts. Can you clarify -- are there also times where CMD is started but the Clink prompt never shows up and for example Alt-H doesn't show key bindings?
Windows Defender is an antivirus tool. It monitors programs and can make decisions to interfere with programs, just like all antivirus tools do. As @pukkandan suggested, adding an exception in Windows Defender might improve things.
Try disabling autorun. It is convenient, but it also forces injecting Clink into hundreds of CMD processes that are started in the background and don't show up as windows. That can potentially lead to problems, depending on other programs (including antivirus tools) running on the computer.
The screenshots are interesting. They show that indeed it is the background CMD processes that are running into problems. Coincidentally, yesterday I made a change 308d053 to detect non-interactive CMD processes earlier (before the Clink DLL is remotely loaded into CMD). That change might be able to reduce or eliminate the messages that show up from the background non-interactive CMD instances. |
I'm sorry for the inaccuracy. Clink starts, but often with a very long delay.
No.
Yes, of course, I added Clink to the exclusions first. I also turned off all Windows protection. It did nothing.
Upgrading to version 1.3.49.3b3066 fixed the problem completely. Thank you very much! |
Maybe something else in the AutoRun configuration is interfering, or if it's a work machine maybe the employer has additional software installed that interferes. 🤷🏻♂️
That's great to hear! 😎 Thank you for confirming. |
Very often, during the start of the command line or after executing various commands, a message appears:
log at this moment
Then the following message appears:
log at this moment
Antiviruses and any other means of protection are not installed. Only the standard Windows Defender. I start the command line using "Run (win + R) - cmd". Autorun was specified during Clink installation. All settings are standard, only Oh My Posh is installed:
If I disable it, the problem occurs much less often, but does not disappear.
clink info
screenshots
Clink v1.3.48.4dadd8
Windows 10.0.17134.1
The text was updated successfully, but these errors were encountered: