MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / ListProcesses

Method ListProcesses

emmy_tool/src/windows/emmy_tool.windows.cpp:265–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265int EmmyTool::ListProcesses() {
266 std::vector<Process> list;
267 GetProcesses(list);
268
269 for (auto &value: list) {
270 printf("%d\n", value.id);
271 // title 中可能出现\n 所以title中的\n全部转为' '
272 translateText(value.title);
273
274 printf("%s\n", value.title.c_str());
275
276 translateText(value.path);
277
278 printf("%s\n", value.path.c_str());
279 printf("----\n");
280 }
281 return 0;
282}
283
284int EmmyTool::ArchFile() {
285 ExeInfo info;

Callers 1

mainFunction · 0.80

Calls 2

GetProcessesFunction · 0.85
translateTextFunction · 0.85

Tested by

no test coverage detected