CLion未在终端中运行 [英] CLion not running in Terminal

查看:286
本文介绍了CLion未在终端中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个错误是在CLion的嵌入式终端中放置了某些字符(单击运行按钮时会弹出运行选项卡),我发现如果在CLion中更改终端,那不会发生。我将终端更改为cmder,现在一切正常,除了一件事:我不知道如何让CLion在该终端上运行程序。

There's this bug with the placement of certain characters in the embedded terminal in CLion (the Run tab that pops up when you click the Run button), and I figured out that if I changed the terminal in CLion, that wouldn't happen. I changed the terminal to cmder, and it is all working now, except one thing: I can't figure out how to make CLion run the program to that terminal.

我尝试更改配置,但是在运行时所做的只是打开cmder而不执行程序(我必须通过写文件名来手动运行它)。

I tried changing the configuration, but all it did on run was open cmder but not execute the program (I had to run it manually, by writing the file name).

我想知道,如何解决此问题,并使CLion直接在终端上运行C程序而不是运行选项卡?

I wonder, what's the way to fix this, and make CLion directly run C programs on the terminal, instead of the Run tab?

谢谢。

推荐答案

CLion运行配置始终在集成运行窗口中运行。那不是终端仿真器,并且不能更改以使其可以在实际的终端仿真器(如cmder)中运行。

The CLion run configuration always runs in the integreted run window. That is not a terminal emulator, and it cannot be changed so that it runs in an actual terminal emulator (like cmder).

您最好的选择是尝试修复该问题。运行窗口中的字符放置。也许会问一个不同的问题,在哪里解释问题,或者如果是明显的错误,请提交错误报告

Your best bet is to try to fix the "character placement" in the run window. Maybe ask a different question where you explain the issue, or if it's a clear bug, file a bug report for it.

这篇关于CLion未在终端中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆