Errors in shell_adv()
还没有人认领这个 Issue。
评估
调研方向
从 config.txt:311 和 shell_adv() 入口点开始,然后重现报告中的可执行文件、find 和输出重定向命令。将它们的行为与在 Minecraft 外部运行相同命令时的行为进行比较,并确定失败是由路径查找还是 shell 解析造成的。当报告中的命令能够通过 shell_adv() 正确执行时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
CMDHELPER-2803 - Reported by RobotoRaccoon
Many issues with locating files within directories. These all worked fine in commandline outside of Minecraft.
Was told to submit this in IRC, so apologies for lack of important details, if any.
IOException: Cannot run program "./printSchematics.sh": error=2, No such file or directory
<
shell_adv('./printSchematics.sh')
ShellException: find: >': No such file or directory find: /home/steam/minecraft/SharedServerFiles/Schematics/deliciousfiles.txt': No such file or directory
shell_adv('find . > /home/steam/minecraft/SharedServerFiles/Schematics/deliciousfiles.txt')
And so on in that fashion for attempts like:
shell_adv('ls -1 * >dump.txt')
- 主要语言
- Java
- 星标
- 129
- 派生
- 70
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
EngineHub/CommandHelper 的其他 Issue
-
discussion wanted documentation
难度 5/5 一周以上 新手友好度 25/100
EngineHub/CommandHelper#1403 ·
-
难度 5/5 一周以上 新手友好度 25/100
EngineHub/CommandHelper#1370 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
EngineHub/CommandHelper#1354 ·
-
bug
难度 4/5 3-5 天 新手友好度 45/100
EngineHub/CommandHelper#1349 · 3 条评论 ·
-
bug
难度 5/5 一周以上 新手友好度 25/100
EngineHub/CommandHelper#1341 · 2 条评论 ·
查看 EngineHub/CommandHelper 的全部 Issue
相似的 Issue
-
component/data-layer
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
-
bug finsim-registry good-first-issue
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
? - Needs Triage bug
难度 2/5 1-3 小时 新手友好度 66/100
NVIDIA/cudf-spark#17063 ·
维护者通常 2 天内回复
-
status:pending type:bug
难度 2/5 1-3 小时 新手友好度 75/100