1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdlib.h> #include <string.h> #include "../draw.h" #include "draw.h" void launch(){ char full_command[BUF_LEN]; strcpy(full_command, get_launch()); strcat(full_command, " > /dev/null 2>&1 &"); system(full_command); return; }