Re: [dev] [dwm] terminating the status loop

From: Kurt Van Dijck <kurt.van.dijck_AT_eia.be>
Date: Wed, 27 Apr 2011 13:55:08 +0200

On Wed, Apr 27, 2011 at 01:20:13PM +0200, Thomas Dahms wrote:
> Hi list,
>
> The following fixes the problem:
>
> while true; do
> xsetroot -name ...
> sleep 1
> done & statuspid=$!
> dwm &
> wait $!
> kill $statuspid
why not just:
        dwm
        kill $statuspid

I see no use in backgrounding dwm, and then waiting for it.
What did I miss?

Kurt Van Dijck
Received on Wed Apr 27 2011 - 13:55:08 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 27 2011 - 14:12:02 CEST