Comments (2)
Unsure. We might have to catch the signal in nu. If subprocess doesn't handle it natively, perhaps something like this would work? https://docs.rs/ctrlc/3.1.3/ctrlc/
from nushell.
Any pointers on how this should be implemented? I can't find a way to hook into subprocess
to catch the signal. Should we be catching the signal another way (this could work)? This might be over my head with my level of Rust knowledge for now, but if you can point me in the right way easily I can have a go :)
from nushell.
Related Issues (20)
- Adding `@completion` to any type of custom command disables passing booleans as arguments.
- `cp $file ~/path/` gives `is not a directory` HOT 2
- `hide`, `alias`, and `def` should not allow built-ins/keywords as arguments HOT 3
- Make AST fully inspectable HOT 2
- Incongruity between `update cells --columns` and `update cells -c` HOT 3
- Inconsistency between rest parameters and rest pattern HOT 2
- Clear command should clear everything HOT 13
- `first` command doesn't output string HOT 3
- Scoop error HOT 2
- Does nushell have a command like du -sh logs to count the size of a folder? HOT 7
- Can't cd to paths with quotes and backslashes as path separator. HOT 2
- Split retain delimiter HOT 4
- invalid date crashes nushell HOT 5
- Internal error: can't run a predeclaration without a body HOT 5
- `history | last` returns itself with SQLite history, but most recent command under text-backed history HOT 4
- Backticked strings getting unexpectedly executed as external commands HOT 4
- `rotate` panics when tricked with unsupported input
- Problematic Dependencies HOT 2
- `from csv` returns a malformed error HOT 3
- Commands starting with a hypen get interpretted as strings HOT 2
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 nushell.