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

Function format_cmdline

coprocess-win32.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static std::string format_cmdline (const std::vector<std::string>& command)
72{
73 std::string cmdline;
74 for (std::vector<std::string>::const_iterator arg(command.begin()); arg != command.end(); ++arg) {
75 if (arg != command.begin()) {
76 cmdline.push_back(' ');
77 }
78 escape_cmdline_argument(cmdline, *arg);
79 }
80 return cmdline;
81}
82
83static HANDLE spawn_command (const std::vector<std::string>& command, HANDLE stdin_handle, HANDLE stdout_handle, HANDLE stderr_handle)
84{

Callers 1

spawn_commandFunction · 0.85

Calls 1

escape_cmdline_argumentFunction · 0.85

Tested by

no test coverage detected