Bug 445103

Summary: Allow build plugin to show terminal application output
Product: [Applications] kate Reporter: Thiago Sueto <herzenschein>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kare.sars, loh.tar
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thiago Sueto 2021-11-07 04:53:55 UTC
I noticed the build plugin is lacking one thing:

* GUI applications show up fine
* Terminal applications do not show output

Given that external tools already work well with terminal tools as they can show their output in a pane, could we have the same thing for the build plugin? It should be handy for when developing any terminal tool, including QCoreApplication ones. This way it would be trivial to have a Run target to easily test terminal applications.
Comment 1 Kåre Särs 2021-11-08 20:13:15 UTC
Hi,

Thanks for the report. Unfortunately this would require a bit more work. The build plugin just reads the stdout and stderr of the application an does not do proper tty handling.

As a workaround if you do not need the console output, you could run the application in konsole:

konsole -e <your cmd>