spawnGroup: option to run in the user's login shell
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 40/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- bash, typescript, zsh
- Domaine
- tooling
Piste de recherche
Start with spawnGroup and the run extension, which already prefixes set +m; trap 'exit 143' TERM; to work around job control and SIGTERM handling. Then find the user-shell helper inside the terminal extension and decide whether to export it or add a shell: 'login' option. Done means a command spawned with the login-shell option sees the user's PATH and aliases, background jobs stop with the group, and loops exit on SIGTERM. The maintainers have not picked between the two API options, so confirm that before writing code.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Running a command the way the user's terminal would (PATH, aliases) via spawnGroup is easy to get wrong:
- zsh
-l -calone doesn't load the user's PATH here;-l -i -cdoes. - But an interactive shell enables job control, so background jobs get their own process group and escape a group stop.
- Interactive shells ignore SIGTERM, so a loop only dies at the SIGKILL after the grace period.
The run extension prefixes set +m; trap 'exit 143' TERM; to fix both. The terminal extension already has a user-shell helper internally; exposing it, or a shell: 'login' option on spawnGroup, would save every extension from rediscovering this.
- Langage dominant
- TypeScript
- Étoiles
- 54
- Forks
- 4
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de githubnext/superego
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
githubnext/superego#8 ·
-
Extension test kit papercutsOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
githubnext/superego#7 ·
-
Docs: folder-scoped live valuesOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 50/100
githubnext/superego#6 ·
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 42/100
githubnext/superego#5 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
githubnext/superego#4 ·
Toutes les issues de githubnext/superego
Issues similaires
-
Media browser returns "Not found" for repositories using the SHA-256 object formatPeut-être pris @adamchodera l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Follow-ups from #312Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
janhesters/remixcn#318 ·
Les mainteneurs répondent en général sous 1 jour
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
danielmiessler/LifeOS#3150 ·
Les mainteneurs répondent en général sous 5 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Make the "%" unit spacing the same in the web and in A10Peut-être pris @kragent66-glitch l’a pris aujourd’hui. Ouvertebug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 commentaire ·