-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: libprocess
-
Labels:None
When you use the subprocess API, you can use Subprocess::FD() to define how the standard IO streams are attached to the child process. The default type argument is IO::DUPLICATED. In that case, the descriptors are duplicated with dup(2) in the parent process. The new file descriptors will have their close-on-exec flag cleared and could then be inherited to undefined child processes.
- is related to
-
MESOS-9164 Subprocess should unset CLOEXEC on whitelisted file descriptors.
-
- Resolved
-