470
470
/* #exec </path/to/executable>
471
471
We create a tmp file, then we #include it, then we delete it. */
473
snprintf(exec_file, sizeof(exec_file), "/var/tmp/exec.%ld.%ld", time(NULL), (long)pthread_self());
473
snprintf(exec_file, sizeof(exec_file), "/var/tmp/exec.%d.%ld", (int)time(NULL), (long)pthread_self());
474
474
snprintf(cmd, sizeof(cmd), "%s > %s 2>&1", cur, exec_file);