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

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

On Thu, 27 May 2010 11:22:25 +0200
Thomas Dean <78abc_AT_web.de> 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 (0.5.5.1-5) 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?

Thanks,

-- 
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