Bug 102739 - exit status nit passed with signal processExited()
Summary: exit status nit passed with signal processExited()
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 14:19 UTC by Christian "Crischan" Wygoda
Modified: 2006-01-17 16:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian "Crischan" Wygoda 2005-03-29 14:19:36 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    RedHat RPMs
OS:                Linux

I'm using konsole_part and connect to the signal processExited() to get information when the user exited the shell. While in Konsole itself the exit code is used to display a little information about it, in konsole_part it isn't passed by the signal, although the information is available and only a couple (3 or so) lines are needed to do so! Why? Or is there an other way to retrieve the exit code?
Comment 1 Kurt Hindenburg 2005-04-01 03:55:19 UTC
It is possible no one has needed/asked for the exit code in konsole_part before.  What 3 lines of code are needed for this to work?
Comment 2 Peter Rockai 2006-01-17 16:27:00 UTC
There is now (kde 3.5) processExited( KProcess * ) signal in konsole part. The obtained KProcess pointer can be used within the signal handler to obtain exit status of the process. However, it is not guaranteed to remain valid after your slot returns, so please keep that in mind.