Re: [dev] exiting dwm correctly

From: Thuban <thuban_AT_singularity.fr>
Date: Tue, 28 Jun 2011 22:21:42 +0200

That's it, thank you very much!
Le 20:49:28 le 28 juin 2011 , Thomas Dahms a écrit :
> 2011/6/28 Thuban <thuban_AT_singularity.fr>:
> > Hello
> > I can't find mails about exiting dwm properly, in order to kill every
> > process launched before dwm when using a .xinitrc file as example. Can
> > you help me finding it please?
> > thank you
>
> There was a thread about properly terminating the loop that updates
> your status bar [1].
>
> If you want to kill everything started in .xinitrc you could remember
> every PID to kill them all at the end:
> xbindkeys &
> PID1=$!
> wicd-client &
> PID2=$!
> dwm
> kill $PID1 $PID2
>
> You would have to be sure that the programs keep their PID and are not
> replaced by child processes. Otherwise you would kill random processes
> in the end.
>
> [1] http://thread.gmane.org/gmane.comp.misc.suckless/5391
>
> --
> Thomas Dahms
Received on Tue Jun 28 2011 - 22:21:42 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 28 2011 - 22:24:03 CEST