How to run console application in external terminal?

Answered

I wish to run the programs in external terminal like powershell or cmd instead of the integrated terminal.


The external tools tab is empty. Could you please provide me with step by step procedure to set up external terminal?

3 comments
Comment actions Permalink

Hi! It hasn't been implemented in CLion yet. We have a feature request in our tracker: https://youtrack.jetbrains.com/issue/CPP-1576. Feel free to comment or upvote.

0
Comment actions Permalink

This is much needed for me. The internal terminal is that not great as its behavior is not similar to the OS terminal. This makes it hard to debug programs.

1
Comment actions Permalink

I have an inverse question: how does one run the app in built-in Console?

When the app is run using "Run" option (button with the green triangle), then the output goes to the built-in Console, but when the app is run using the "Debug" option, then an external console window is opened and all output goes to that window. How can I make it output always to the built-in Console?

CLion 2021.1.3
Build #CL-211.7628.27, built on July 1, 2021
Runtime version: 11.0.11+9-b1341.60 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2000M
Cores: 12
Registry: run.processes.with.pty=TRUE

0

Please sign in to leave a comment.