diff -u a/main.c b/main.c --- a/main.c 2008-03-15 15:38:18.000000000 -0700 +++ b/main.c 2008-04-16 08:01:26.000000000 -0700 @@ -32,6 +32,7 @@ #include #include +#include #include #include @@ -94,10 +95,8 @@ { struct genmon_t *poPlugin = (genmon_t *) p_pvPlugin; struct monitor_t *poMonitor = &(poPlugin->oMonitor); - char result[256]; - genmon_SpawnCmd (poMonitor->onClickCmd, result, - sizeof (poMonitor->onClickCmd), 0); + xfce_exec(poMonitor->onClickCmd, 0, 0, NULL); } /**************************************************************/