Environment filtering is not needed. Instead, open applications through SHELL, double-fork

This commit is contained in:
Michael Stapelberg
2009-02-14 01:36:12 +01:00
parent 651bcc375f
commit 4589c26558
6 changed files with 32 additions and 41 deletions

View File

@ -287,7 +287,7 @@ void parse_command(xcb_connection_t *conn, const char *command) {
/* Is it an <exec>? */
if (strncmp(command, "exec ", strlen("exec ")) == 0) {
printf("starting \"%s\"\n", command + strlen("exec "));
start_application(command+strlen("exec "), NULL);
start_application(command+strlen("exec "));
return;
}