| 1002 | } |
| 1003 | |
| 1004 | std::wstring processFilename(HANDLE process = INVALID_HANDLE_VALUE) |
| 1005 | { |
| 1006 | const auto p = processPath(process); |
| 1007 | if (p.empty()) { |
| 1008 | return {}; |
| 1009 | } |
| 1010 | |
| 1011 | return p.filename().native(); |
| 1012 | } |
| 1013 | |
| 1014 | std::filesystem::path thisProcessPath() |
| 1015 | { |
no test coverage detected