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