[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:       Harri Porten <porten () kde ! org>
Date:       2003-07-28 0:04:50
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic