https://issues.dlang.org/show_bug.cgi?id=24715
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #9048 "std/process: Default to libc closefrom in spawnProcessPosix" was merged into master: - 48d581a1f509a7a302ea893e28939edb5b130622 by Andrei Horodniceanu: Fix Bugzilla 24715 - std/process: Default to libc `closefrom` in spawnProcessPosix The current implementation of spawnProcessPosix is broken on systems with a large `ulimit -n` because it always OOMs making it impossible to spawn processes. Using the libc implementation, when available, for doing file descriptor operations en-mass partially solves this problem. Signed-off-by: Andrei Horodniceanu <a.horodnice...@proton.me> https://github.com/dlang/phobos/pull/9048 --