MCPcopy Create free account
hub / github.com/EasyIME/PIME / getUtf8CurrentDir

Function getUtf8CurrentDir

PIMELauncher/BackendServer.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static constexpr auto MAX_RESPONSE_WAITING_TIME = 30; // if a backend is non-responsive for 30 seconds, it's considered dead
49
50static std::string getUtf8CurrentDir() {
51 char dirPath[MAX_PATH];
52 size_t len = MAX_PATH;
53 uv_cwd(dirPath, &len);
54 return dirPath;
55}
56
57static std::vector<std::string> getUtf8EnvironmentVariables() {
58 // build our own new environments

Callers 1

startProcessMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected