OS.execute cannot capture shell output
Open
bug
enhancement
good first issue
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
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 []
}
```
Contributor guide
Assessment
This issue has not been assessed yet.