We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbafa76 commit 1242a6dCopy full SHA for 1242a6d
1 file changed
main.cpp
@@ -2125,10 +2125,10 @@ int main(int argc, char* argv[]) {
2125
2126
std::vector<int> pids;
2127
std::vector<std::string> trash;
2128
- trash.push_back(""):
2129
- pids.push_back(pid, trash); // function requires it to be a list even if only 1 is passed
+ trash.push_back("");
+ pids.push_back(static_cast<DWORD>(pid));// function requires it to be a list even if only 1 is passed
2130
2131
- PIDinspect({static_cast<DWORD>(pids)});
+ PIDinspect({static_cast<DWORD>(pids)}, trash);
2132
} else {
2133
if (IsVirtualTerminalModeEnabled()) { // ugh i have to do this EVERY SINGLE TIME
2134
std::cerr << "\033[1;31mError:\033[0m --pid option requires an argument." << std::endl;
0 commit comments