добивание живых задач, отключение лишней рассылки админам, настройка удаления или не удаления пакета на машине
This commit is contained in:
2025-03-14 13:48:30 +03:00
parent 9f4eb9d88e
commit a2017f9e01
17 changed files with 95 additions and 32 deletions

View File

@@ -28,6 +28,11 @@ int main(int argc, char ** argv){
int pid = fork();
if (pid == 0)
execvp( argv[1],args);
else {
FILE * pid_file = fopen("PID","w");
fprintf(pid_file,"%d", pid);
fclose(pid_file);
}
return 0;
}
catch (const char * exception){