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

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Thu, 27 May 2010 14:22:27 -0400

On Thu, 27 May 2010 19:18:40 +0200
Thomas Dean <78abc_AT_web.de> wrote:

> On Thu, May 27, 2010 at 12:31:42 -0400, Kris Maglione wrote:
> > It's not supposed to have any output. It just basically
> > disassociates a process from its parent. You should generally use
> > it when launching programs from wmiirc so they don't catch any
> > signals if you kill wmiirc. This would be easier if I could
> > duplicate this. I think your best bet is some hack like this:
> >
> > --- fetchmail.sh 2010-05-27 12:30:39.000000000 -0400
> > +++ - 2010-05-27 12:30:48.882841963 -0400
> > @@ -49,7 +49,7 @@
> > 3)
> > - x-terminal-emulator -e tail -n 200
> > -f ~/.fetchmaillog &;;
> > + ( wmiir setsid x-terminal-emulator
> > -e tail -n 200 -f ~/.fetchmaillog & )&;; esac
>
> With that the script already dies as soon as the fetchmaillog window
> opens :-) Given that this seems to be a problem of dash, maybe I
> should file a Debian bug report...

That would probably be a good idea, if you can come up with a good
test case.

-- 
Kris Maglione
Understand this, I mean to arrive at the truth.  The truth, however
ugly in itself, is always curious and beautiful to seekers after it.
	--Agatha Christie
Received on Thu May 27 2010 - 18:22:27 UTC

This archive was generated by hypermail 2.2.0 : Thu May 27 2010 - 18:24:02 UTC