Bug 124792

Summary: Run in terminal: option to close only if return code == 0
Product: [Frameworks and Libraries] frameworks-kio Reporter: Thorsten Hirsch <t.hirsch>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thorsten Hirsch 2006-04-02 22:40:04 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Unlisted Binary Package

Hi,

I'd like to see a new option in the application starters.
Under
  ->application
  ->advanced options
  ->terminal
I already have the option to "run in terminal" and "do not close when command exits".
Now what I find very usefull would be "do not close when command exits with a return code different from 0",
because the output of the command is not interesting for me if everything works fine. But when I encounter an error, the output is usefull to trace this error.

I even think, that this should be the default option when choosing "run in terminal".
So the menu could look like this:

[ X ] run in terminal
    (   ) keep terminal open when command exits
    (   ) close terminal when command exits
    ( X ) close terminal only if exit status is 0

or to just add a new option to the existing menu:

[ X ] run in terminal
    [ X ] do not close when command exits
        [ X ] close if exit status is 0

...but I think the first one is better to understand.