Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

From: Kris Maglione <>
Date: Thu, 27 May 2010 11:32:06 -0400

On Thu, 27 May 2010 11:22:25 +0200
Thomas Dean <> wrote:

> I ran into the same problem today. The wmiirc script as well as all my
> status bar scripts die frequently. All of them are run with dash.
> Switching /bin/sh from dash to bash (and replacing dash with bash in
> wmiirc) fixes the problem. It seems to be related to the latest update
> of dash ( in Debian.
> One example is the attached script, which shows my mail count, and
> shows ~/.fetchmaillog on a right click. Strangely, the script survives
> multiple right clicks (the file is shown in multiple windows), but
> dies as soon as one of those windows is closed, either via C-c, or via
> Mod-Shift-c.

Ok, so that suggests that dash has a problem when its backgrounded
children die. Can you try running them with ‘wmiir setsid’ and see if
it helps?


Kris Maglione
UNIX was not designed to stop its users from doing stupid things, as
that would also stop them from doing clever things.
	--Doug Gwyn
Received on Thu May 27 2010 - 15:32:06 UTC

This archive was generated by hypermail 2.2.0 : Thu May 27 2010 - 15:36:02 UTC