EngineHub / EngineHub/CommandHelper

Errors in shell_adv()

Đang mở
#808 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
Java
Star
128
Fork
70
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.