spawnGroup: option to run in the user's login shell
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 40/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bash, typescript, zsh
- 領域
- tooling
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 44
- フォーク
- 4
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/superego のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
githubnext/superego#8 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
githubnext/superego#7 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
githubnext/superego#6 ·
-
難易度 3/5 半日 初心者へのやさしさ 42/100
githubnext/superego#5 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
githubnext/superego#4 ·
githubnext/superego の issue をすべて見る
似ている issue
-
blocklist addition
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
MetaMask/eth-phishing-detect#319194 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
continuedev/continue#13533 · コメント 1 件 ·
メンテナーはふだん 6 日以内に返信
-
bug codex:automation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
genfeedai/genfeed.ai#12060 ·
メンテナーはふだん 1 日以内に返信
-
bounty good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fitzss/valun-open#15 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信