MCPcopy Create free account
hub / github.com/arun11299/cpp-subprocess / close_fds

Class close_fds

cpp-subprocess/subprocess.hpp:814–817  ·  view source on GitHub ↗

! * Option to close all file descriptors * when the child process is spawned. * The close fd list does not include * input/output/error if they are explicitly * set as part of the Popen arguments. * * Default value is false. */

Source from the content-addressed store, hash-verified

812 * Default value is false.
813 */
814struct close_fds {
815 explicit close_fds(bool c): close_all(c) {}
816 bool close_all = false;
817};
818
819/*!
820 * Option to make the child process as the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected