Bug 124792 - Run in terminal: option to close only if return code == 0
Summary: Run in terminal: option to close only if return code == 0
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 22:40 UTC by Thorsten Hirsch
Modified: 2025-03-24 22:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.