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

Function exec_command

util.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#include <iostream>
36
37int exec_command (const std::vector<std::string>& args)
38{
39 Coprocess proc;
40 proc.spawn(args);
41 return proc.wait();
42}
43
44int exec_command (const std::vector<std::string>& args, std::ostream& output)
45{

Callers 15

gpg_get_uidFunction · 0.85
gpg_lookup_keyFunction · 0.85
gpg_list_secret_keysFunction · 0.85
gpg_decrypt_from_fileFunction · 0.85
git_version_stringFunction · 0.85
git_configFunction · 0.85
git_has_configFunction · 0.85
git_deconfigFunction · 0.85
git_checkout_batchFunction · 0.85
get_internal_state_pathFunction · 0.85
get_git_configFunction · 0.85
get_repo_state_pathFunction · 0.85

Calls 4

spawnMethod · 0.45
waitMethod · 0.45
stdout_pipeMethod · 0.45
rdbufMethod · 0.45

Tested by

no test coverage detected