[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Proposal: KProcess API enhancement and konsole
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2003-07-28 0:07:51
[Download RAW message or body]
On Mon, Jul 28, 2003 at 02:04:50AM +0200, Harri Porten wrote:
> Malte Starostik wrote:
> >
> > the attached KProcess patch adds some functions to check whether the process
> > died with a signal. The konsole patch makes use of it in konsole to get rid
> > display "Session blah exited with signal 2" etc. if applicable.
>
> How about merging the signalled() and exitSignal() function ? As the
> latter has an undefined behaviour if the former isn't true it sounds a
> bit dangerous to use. exitSignal() could return -1 or 0 in case it
> doesn't have anything to report for example.
>
basically you're right, but he did it for consistency reasons with the
existing garbage. :)
i think it's ok that way. let's just add a kde4 todo.
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic