MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / getOpenVpnExeNames

Function getOpenVpnExeNames

src/helper/linux/utils.cpp:110–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110std::vector<std::string> getOpenVpnExeNames()
111{
112 std::vector<std::string> ret;
113 std::error_code ec;
114 for (std::filesystem::directory_iterator it(WS_LINUX_INSTALL_DIR, ec), end; !ec && it != end; it.increment(ec)) {
115 std::string name = it->path().filename().string();
116 if (name.find("openvpn") != std::string::npos) {
117 ret.push_back(name);
118 }
119 }
120 return ret;
121}
122
123std::string getDnsScript(CmdDnsManager mgr)
124{

Callers 1

executeTaskKillFunction · 0.70

Calls 2

pathMethod · 0.80
filenameMethod · 0.45

Tested by

no test coverage detected