EngineHub / EngineHub/CommandHelper

Errors in shell_adv()

未关闭
#808 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
Java
星标
128
派生
70
PR 合并指标
30 天内没有已合并 PR

描述

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
<>:/data/minecraft/1.5-lobby/plugins/CommandHelper/config.txt:311

> 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')

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。