X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=blobdiff_plain;f=clients%2Fgui-shell%2Fdsh.c;h=b6886680c6390bec2cbd65718e485ec929f643f2;hp=e5bb9bbeee547029dab6da9bd3f85dc0ec7ed637;hb=31a01fddb038535690783feb3e76bcd35c1edb16;hpb=43edea91c0417cbe78b1f3ec738798a411d771e3 diff --git a/clients/gui-shell/dsh.c b/clients/gui-shell/dsh.c index e5bb9bb..b688668 100644 --- a/clients/gui-shell/dsh.c +++ b/clients/gui-shell/dsh.c @@ -376,6 +376,19 @@ void dolcon(void) } } +void cb_shm_dolconf_activate(GtkWidget *uu1, gpointer uu2) +{ + int i; + + if((dcpid = fork()) == 0) { + for(i = 3; i < FD_SETSIZE; i++) + close(i); + execlp("dolconf", "dolconf", NULL); + perror("dolconf"); + exit(127); + } +} + void cb_shm_dolcon_activate(GtkWidget *uu1, gpointer uu2) { dolcon();