spawnGroup: option to run in the user's login shell
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 40/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bash, typescript, zsh
- Área
- tooling
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 44
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de githubnext/superego
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
githubnext/superego#8 ·
-
Extension test kit papercutsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
githubnext/superego#7 ·
-
Docs: folder-scoped live valuesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 50/100
githubnext/superego#6 ·
-
Dificultad 3/5 Medio día Aptitud para principiantes 42/100
githubnext/superego#5 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
githubnext/superego#4 ·
Todos los issues de githubnext/superego
Issues similares
-
Blocklist addition requestAbiertoblocklist addition
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
MetaMask/eth-phishing-detect#319194 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
continuedev/continue#13533 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
bug codex:automation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
genfeedai/genfeed.ai#12060 ·
Los mantenedores suelen responder en 1 día
-
bounty good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fitzss/valun-open#15 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día