Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Errors in shell_adv()

オープン
#808 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, shell
領域
cli

調査の方向性

config.txt:311 とエントリーポイント shell_adv() から始め、報告された実行ファイル、find、出力リダイレクトのコマンドを再現します。Minecraft 外で同じコマンドを実行した場合と動作を比較し、失敗の原因がパス検索にあるのか、シェルの解析にあるのかを特定します。報告されたコマンドが shell_adv() 経由で正しく実行されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

feature request

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

主要言語
Java
スター
128
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EngineHub/CommandHelper のほかの issue

EngineHub/CommandHelper の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。