godotjs / godotjs/javascript

OS.execute cannot capture shell output

オープン
#79 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug enhancement good first issue
主要言語
C++
スター
1.1k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

executing applications works fine like xterm for example or firefox
but i cannot get the shell output from command line apps like ls

```ts
_ready() {
let args = new godot.PoolStringArray(["-c", "ls"])
let arr = []
godot.OS.execute("sh", args, true, arr)

godot.print(arr) // prints empty []
}
```

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

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

評価

この issue はまだ評価されていません。

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

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