OS.execute cannot capture shell output
Offen
bug
enhancement
good first issue
- Vorherrschende Sprache
- C++
- Sterne
- 1.1k
- Forks
- 80
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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 []
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.