`subprocess._USE_POSIX_SPAWN` necessary to make nested launching work for AppImage
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
The release notes for 3.13 ask this - Please report your reason and platform details in the issue tracker if you set this so that we can improve our API selection logic for everyone. - so here I am.
I maintain sc-controller and Python 3.13 breaks its AppImage releases, as reported here https://github.com/AppImage/AppImageKit/issues/1435 with some attempted troubleshooting.
I've had to set subprocess._USE_POSIX_SPAWN = False in https://github.com/C0rn3j/sc-controller/commit/cb03aa8af76694fe157b437f9630dfa5e7c203f1 to get around it.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Python 3.13 的 subprocess._USE_POSIX_SPAWN 行為開始,並將其與連結的 AppImageKit issue 中描述的巢狀啟動失敗進行比較。檢視 sc-controller 的 workaround commit 和平台細節,接著判斷為何會選擇 POSIX spawn,以及 API 選擇應進行什麼變更,才能避免需要使用 private setting。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100