Not every Linux system has /dev/fd
Open
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
I have found a couple of embedded Linux devices old enough to not have close_range, and that happen to lack the /dev/fd -> /proc/self/fd symlink (AFAICT it's not required by POSIX either). They do have /proc/self/fd, though.
So it would be nice if Boost.Process would try also in /proc/self/fd if `/dev/fd` fails: https://github.com/boostorg/process/blob/1bfe21baa32acc64f865c65ef5924b167de33439/src/posix/close_handles.cpp#L181
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.