Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与修改
Related to #111.
Linux 更新和分支查询原先通过全局临时目录中的
commands.txt启动 SteamCMD。文件在面板端可见,并不保证子进程执行时仍可按该路径读取;读取失败后,脚本内的退出指令也不会执行,SteamCMD 会停在Steam>。本次在 Linux 非交互任务中采用独立私有任务目录,打开只读脚本后立即 unlink,再通过额外的子进程文件描述符传递给 SteamCMD,以
+runscript /proc/self/fd/3执行。即使原目录被清理,已打开的脚本仍可读取;另一份面板启动时的全局清理也不会删除这个任务的内容。保留脚本模式的错误退出语义,账户/分支密码仍不进入 argv。+quit。run.sh,断言却期待start.sh。没有修改实例启动行为。验证
1788292693,通过官方steamcmd.sh和编译后的管理器代码验证:正常脚本退出 0;删除任务目录后匿名登录仍退出 0;错误命令退出 7;无效app_update 0退出 8;查询帕鲁2394010返回public分支。git diff --check通过。回归边界
保持 Draft,待 #111 报告环境回归。原报告机器的具体文件系统错误尚未取到;本改动消除了更新/查询对共享临时文件名的依赖,但不声称已经复现并排除该主机所有环境问题。此前手工修改
/tmp权限导致的 PTY 安全检查失败,需要单独核实并恢复正确权限,不在此处自动修改系统目录。