Bug 389699

Summary: konsole does not exit when an executable is launched from KDevelop
Product: [Applications] kdevelop Reporter: aks2161989 <akshay_chavan2003>
Component: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: wishlist CC: a.samirh78
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description aks2161989 2018-01-31 15:51:13 UTC
In KDevelop 5.2.1, when a simple Hello World console app is executed, konsole displays the output, but does not exit. It remains open no matter what I type and I have to click on the 'X' sign to exit.

In Run->Configure Launches-> the "Use external terminal is checked" and it has the commands "konsole --noclose --workdir %workdir -e %exe"

My OS is Ubuntu: 17.04
Comment 1 Kurt Hindenburg 2018-01-31 16:03:38 UTC
That's the expected behavior - remove the --noclose if you want it to close Konsole afterwards.
Comment 2 aks2161989 2018-01-31 16:45:29 UTC
(In reply to Kurt Hindenburg from comment #1)
> That's the expected behavior - remove the --noclose if you want it to close
> Konsole afterwards.

What I meant is - konsole does not ask for a keypress to exit, it displays the output and then keeps accepting input from the user, without exiting. There is no "press any key to exit" displayed. Removing --noclose makes konsole exit BY ITSELF without any keypress by the user. It closes too fast to see any output.
Comment 3 Ahmad Samir 2018-02-11 12:26:14 UTC
This looks like a feature request for kdevelop rather than a bug in konsole.
Comment 4 aks2161989 2018-02-12 11:44:06 UTC
(In reply to Ahmad Samir from comment #3)
> This looks like a feature request for kdevelop rather than a bug in konsole.

I guess you are right. Should I change the status to "resolved"?
Comment 5 Ahmad Samir 2018-02-12 12:00:53 UTC
I've just switched the product to kdevelop.