Proposal: KProcess API enhancement and konsole

Oswald Buddenhagen ossi at kde.org
Mon Jul 28 01:07:51 BST 2003


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.




More information about the kde-core-devel mailing list