简体   繁体   English

打开 Intellij 时终端被阻塞

[英]Terminal gets blocked when opening Intellij

as I have set the Path variable to point to the "bin" folder of Intellij I can project from the command line by navigating to the specific folder and then executing idea.因为我已将 Path 变量设置为指向Intellij的“bin”文件夹,所以我可以通过导航到特定文件夹然后执行idea. . .

The problem now is that when starting Intellij the console is blocked.现在的问题是启动Intellij时控制台被阻塞。 I can of course press Ctrl + C to end the execution but then Intellij is closed.我当然可以按Ctrl + C结束执行,但随后Intellij关闭。

a) Is this the normal behavior or did I set something up wrong? a) 这是正常行为还是我设置有误? b) How do I change it? b) 我如何更改它? Basically I would like open “Intellij” and still be abel to use the console afterwards.基本上我想打开“Intellij”,然后仍然可以使用控制台。

I am using the Intellij Idea Community Edition on version 2021.3.3我使用的是版本 2021.3.3 上的Intellij Idea Community Edition

This is normal behavior.这是正常行为。 The termial accepted the command and is waiting for it to terminate.终端接受命令并等待它终止。 You could start the command and let it run in the background, so the terminal returns, and the process does not stop:您可以启动命令并让它在后台运行,这样终端就会返回,并且进程不会停止:

On Linux:在 Linux 上:

idea . &

On Windows:在 Windows 上:

start /B idea .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM