EngineHub / EngineHub/CommandHelper

Errors in shell_adv()

Offen
#808 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
Java
Sterne
128
Forks
70
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.