blob: a64622a6c3b95d768cd2a3d14f26e8abb7033c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <thread>
#include <fstream>
int main(int argc, char *argv[])
{
if (argc >= 2) {
std::ofstream(argv[1]).close();
}
// Wait to be attached.
std::this_thread::sleep_for(std::chrono::minutes(1));
return 0;
}
|