EngineHub / EngineHub/CommandHelper

Errors in shell_adv()

Open
#808 2 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Java
Stars
128
Forks
70
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.