[英]Keep Pycharm open after opening it from windows Git bash terminal
I just changed my Git bash.bashrc file with an alias to open Pycharm using Git Terminal on Windows with the following alias: I just changed my Git bash.bashrc file with an alias to open Pycharm using Git Terminal on Windows with the following alias:
alias pycharm="C:/Program\ Files/JetBrains/PyCharm\ 2020.3.1/bin/pycharm64.exe"
Like this I can open & code into a folder with the git command像这样,我可以使用 git 命令打开并编码到文件夹中
pycharm [my directory]
But I wonder how I can keep my Pycharm window opened while closing the Git window I used to open it in the first place.但我想知道如何让我的 Pycharm window 在关闭 Git Z05B8C742CBD96FBF2DEZC1A3 时打开。 Because if I close the Git window it close also PyCharm.
因为如果我关闭 Git window 它也会关闭 PyCharm。
Thank's in advance for reading this, hope it's clear enough提前感谢您阅读本文,希望它足够清楚
You can use:您可以使用:
nohup pycharm >/dev/null &
disown
SOLVED by Le Ngoc Thuong, thank's !!由 Le Ngoc Thuong 解决,谢谢!
So I changed my aliases in the bash.bashrc file with the following lines and it worked:因此,我使用以下几行更改了 bash.bashrc 文件中的别名,并且它起作用了:
alias pycharm="C:/Program\ Files/JetBrains/PyCharm\ 2020.3.1/bin/pycharm64.exe > /dev/null & disown"
alias webstorm="C:/Program\ Files/JetBrains/WebStorm\ 2020.3/bin/webstorm64.exe > /dev/null & disown"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.