Proposal: KProcess API enhancement and konsole

Malte Starostik malte at kde.org
Mon Jul 28 00:49:43 BST 2003


Hi,

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.
On systems where ECOREDUMP is defined the user is also informed whether the 
session dumped core.
Any objections/portability issues?
BTW, is there some function available to translate signal numbers into their 
names (and maybe with a short textual description)?

Cheers,
-Malte


-------------- next part --------------
A non-text attachment was scrubbed...
Name: konsole.diff
Type: text/x-diff
Size: 1244 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030728/f0b09efa/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kprocess.diff
Type: text/x-diff
Size: 2230 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030728/f0b09efa/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030728/f0b09efa/attachment.sig>


More information about the kde-core-devel mailing list