pantry/projects/facebook.com/edencommon/test.cc
Jacob Heider d11f61e163 fix(edencommon)
we hardcoded the source url :(
2023-12-22 14:05:55 -05:00

12 lines
No EOL
272 B
C++

#include <eden/common/utils/ProcessInfo.h>
#include <cstdlib>
#include <iostream>
using namespace facebook::eden;
int main(int argc, char **argv) {
if (argc <= 1) return 1;
int pid = std::atoi(argv[1]);
std::cout << readProcessName(pid) << std::endl;
return 0;
}