quickjs/compat
Charlie Gordon d378a9f3a5
Improve js_os_exec (#295)
- use $(shell) make command to test if closefrom() is available
- use closefrom() if available in js_os_exec()
- limit the fallback loop to 1024 handles to avoid costly loop on linux alpine.
PR inspired by @nicolas-duteil-nova
2024-05-10 01:57:55 +02:00
..
test-closefrom.c Improve js_os_exec (#295) 2024-05-10 01:57:55 +02:00