boostorg / boostorg/process

Not every Linux system has /dev/fd

Open
#517 2 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.