X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=server.c;h=527d737b0c5d2c9a76e261fa92069e92cfc03849;hb=17c70c20cbc1d76cb78c92fb59a407724d2d92d1;hp=6276c9fa57e0427505c0011528ca7b50894906e1;hpb=a0e1ea88f01e53f2cfb252a0e2e92fd64ece4da9;p=irssi-notify.git diff --git a/server.c b/server.c index 6276c9f..527d737 100644 --- a/server.c +++ b/server.c @@ -126,7 +126,7 @@ int main(void) printf("irssi-notify: recieved '%s'\n", buf); if (!fork()){ setenv("DISPLAY", ":0", 1); // doesn't seem to be doing the trick - execl("notify-display", + execlp("notify-display", "notify-display", buf, NULL); // the first argument to execl is the command, the second is the first argument // passed to the program ($0), customarily the evocation of the command