Proposal: KProcess API enhancement and konsole

Harri Porten porten at kde.org
Mon Jul 28 01:04:50 BST 2003


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.




More information about the kde-core-devel mailing list