EngineHub / EngineHub/CommandHelper

Errors in shell_adv()

オープン
#808 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。