Comments (3)
There are multiple processes all using the same console window concurrently. You're using Ctrl-C or Ctrl-Break to interrupt one of them, but some others are still running, and they briefly continue to output text to the console window even after control has returned to the shell. That's not a problem in Clink, and there's nothing Clink can do about that.
One thing that might be exacerbating it is the value of the cmd.auto_answer
setting.
Try running clink set cmd.auto_answer
. If the value is anything other than off
, then try running clink set cmd.auto_answer off
. That way Clink won't automatically answer "Y" to the "Terminate...?" question, which might give time for the other processes to calm down and stop stomping on the console window output.
from clink.
There are multiple processes all using the same console window concurrently. You're using Ctrl-C or Ctrl-Break to interrupt one of them, but some others are still running, and they briefly continue to output text to the console window even after control has returned to the shell. That's not a problem in Clink, and there's nothing Clink can do about that.
If that is the case, is there anything that can be done other than turning off auto answer though?
One thing that might be exacerbating it is the value of the
cmd.auto_answer
setting.
yes, turning it off fixes the problem but now i don't have auto answer from clink.
from clink.
You'd have to look at specifically which processes are piping output, and identify which process is printing to stderr in response to the Ctrl-C error state. Or etc.
I guess I could maybe add an optional delay in the auto-answer, but that creates other drawbacks.
The problem is the piping is not set up in a way that fully suppresses visible output. Clink can't do anything about that. Whoever/whatever is constructing and running whatever command you're interrupting would need to fix how the commands and piping is done.
from clink.
Related Issues (20)
- uninject / deactivate clink HOT 21
- Windows Defender reports a trojan in Clink 1.6.10 zip HOT 2
- Integration with conda HOT 2
- Way to redact secrets in logs HOT 5
- Clink command changes font HOT 2
- The system cannot find the path specified. HOT 4
- clink does not save command that prefix with space HOT 3
- [feature request] add a setting for allowing remove leading space HOT 10
- some key work in linux, but no work in clink HOT 4
- Disable startup message HOT 2
- how to use `os.setalias()` HOT 1
- How change shortcut for Popup Windows HOT 19
- prompt shows leftover text sometimes HOT 2
- Modify Heading HOT 5
- the new `os.setalias` ignore the flags and args HOT 1
- Where to define environment variables in CMD or Clink? HOT 2
- Question: Expanding environment variables during auto complete HOT 9
- some problems HOT 1
- No message print when an update is available HOT 2
- Show history filtered by the typed command HOT 4
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 clink.