From kde-core-devel Mon Jul 28 00:04:50 2003 From: Harri Porten Date: Mon, 28 Jul 2003 00:04:50 +0000 To: kde-core-devel Subject: Re: Proposal: KProcess API enhancement and konsole X-MARC-Message: https://marc.info/?l=kde-core-devel&m=105935053125497 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. Harri.