Comments (2)
Right now if we are running some tokio::process::Command
and the user CTRL+C's the signal will get sent to the entire process group, it seems the solution to this is to use setsid
(https://docs.rs/nix/latest/nix/unistd/fn.setsid.html) and process_group
(https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.process_group) to create a new process group which is lead by harmonic
, this way it can feed them signals as desired without the user being involved.
This is added to Tokio so we just need to wait for a release: tokio-rs/tokio#5114
from nix-installer.
New Tokio release, so this can get completed.
from nix-installer.
Related Issues (20)
- Offer to clean existing groups if needed. HOT 4
- Unarchiving errors with some mirrors HOT 2
- Improve detection of WSL installs without Systemd HOT 5
- Keychain already populated with key and cannot be removed HOT 8
- Installing over partial uninstall of (very?) old install fails HOT 5
- SteamOS beta (or maybe just "main") branch installer conflict HOT 10
- Add $HOME/.nix-profile/bin to GHA path HOT 4
- Building without experimental features enabled HOT 8
- After removing 0.8.0 and installing 0.9.0, many `nix profile` commands fail HOT 12
- MacOS Keychain lacks password to existing volume when curing existing install HOT 2
- MacOS uninstall - Backupd hampers uninstall HOT 12
- 0.8.0 not working on Oracle Linux HOT 10
- Investigate more flexible/robust way to handle GITHUB_PATH HOT 3
- Activate shell completion after installation HOT 5
- Improve messaging when `/nix/receipt.json` is already found. HOT 4
- APFS volumes don't necessarily have names HOT 5
- set TasksMax=infinity in nix-daemon systemd unit HOT 3
- <autogenerated-issue> HOT 2
- Disable installing `nix-*` family of commands HOT 1
- 0.9.1 and nix-darwin 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 nix-installer.