godotjs / godotjs/javascript

OS.execute cannot capture shell output

Đang mở
#79 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.