[XXX preload-host-spawn-strategy] Warning: waitpid override ignores groups
如果用 Steamdeck 自带的应用商店(Flatpak)安装/更新 VSCode 的话可能内置Terminal会遇到这个问题,无法执行任何命令
[XXX preload-host-spawn-strategy] Warning: waitpid override ignores groups
需要在 Preference > Setting 里把 Profile 改一下
Terminal > Integrated > Profiles
找到这 点击 Edit json

把下面 那一段 替换为
{
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/usr/bin/flatpak-spawn",
"args": ["--host", "--env=TERM=xterm-256color", "bash"]
}
}
}
我的贴好之后长这样

保存 重启终端 结束