MCPcopy Create free account
hub / github.com/AGWA/git-crypt / close_stdout

Method close_stdout

coprocess-unix.cpp:107–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void Coprocess::close_stdout ()
108{
109 delete stdout_pipe_istream;
110 stdout_pipe_istream = nullptr;
111 if (stdout_pipe_writer != -1) {
112 close(stdout_pipe_writer);
113 stdout_pipe_writer = -1;
114 }
115 if (stdout_pipe_reader != -1) {
116 close(stdout_pipe_reader);
117 stdout_pipe_reader = -1;
118 }
119}
120
121void Coprocess::spawn (const std::vector<std::string>& args)
122{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected