OS.execute cannot capture shell output
Đang mở
bug
enhancement
good first issue
- Ngôn ngữ chính
- C++
- Star
- 1.1k
- Fork
- 80
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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 []
}
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.