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

Method spawn

coprocess-win32.cpp:216–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void Coprocess::spawn (const std::vector<std::string>& args)
217{
218 proc_handle = spawn_command(args, stdin_pipe_reader, stdout_pipe_writer, nullptr);
219 if (stdin_pipe_reader) {
220 CloseHandle(stdin_pipe_reader);
221 stdin_pipe_reader = nullptr;
222 }
223 if (stdout_pipe_writer) {
224 CloseHandle(stdout_pipe_writer);
225 stdout_pipe_writer = nullptr;
226 }
227}
228
229int Coprocess::wait ()
230{

Callers

nothing calls this directly

Calls 1

spawn_commandFunction · 0.85

Tested by

no test coverage detected