Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
526 views
in Technique[技术] by (71.8m points)

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 :

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

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. Because if I close the Git window it close also PyCharm.

Thank's in advance for reading this, hope it's clear enough

question from:https://stackoverflow.com/questions/65895484/keep-pycharm-open-after-opening-it-from-windows-git-bash-terminal

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can use:

nohup pycharm >/dev/null &
disown

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...