1#include <chrono>
2#include <fstream>
3#include <thread>
4
5int main(int argc, char const *argv[]) {
6 std::ofstream(argv[1]).close();
7 std::this_thread::sleep_for(rtime: std::chrono::seconds(30));
8 return 0;
9}
10

source code of lldb/test/API/commands/platform/process/list/main.cpp