5 EAPI unsigned long e_alert_composite_win = 0;
14 e_alert_shutdown(void)
25 #define E_ALERT_EXE "/enlightenment/utils/enlightenment_alert"
27 args[0] = alloca(strlen(e_prefix_lib_get()) + strlen(E_ALERT_EXE) + 1);
28 strcpy(args[0], e_prefix_lib_get());
29 strcat(args[0], E_ALERT_EXE);
32 snprintf(args[1], 10, "%d", sig);
35 snprintf(args[2], 21, "%lu", (long unsigned int)getpid());
38 snprintf(args[3], 21, "%lu", e_alert_composite_win);
46 /* The child process */
47 execvp(args[0], args);
51 /* The parent process */
57 ret = waitpid(pid, &status, 0);
66 if (!WIFEXITED(status))
69 if (WEXITSTATUS(status) == 1)
76 if (getenv("E_START_MTRACK"))
77 e_util_env_set("MTRACK", "track");