1

Currently I have command pycharm to start Pycharm IDE. I use it like sudo pycharm and this launches Pycharm, but I have to keep terminal from where I've launched it open, because if I close it Pycharm being closed too.

Question is following.

How can I launch Pycharm(or any other application) and be able to close terminal from where it was launched? I tried nohup pycharm & but with no result. I need to run it with sudo

2
  • I can't think of any good reason to run a python IDE with sudo (especially not plain sudo, which is not meant for GUI applications) - can you explain why you need to do that? Without sudo, you could use the bash built-in disown command i.e. pycharm & disown. Commented Dec 15, 2014 at 12:08
  • If I run it as regular user I can not update from version control Commented Dec 15, 2014 at 13:47

2 Answers 2

1

Try the setsid command of syntax:

setsid program [arg...]

so in your case:

setsid pycharm

From man setsid

       setsid - run a program in a new session

for example: setsid firefox

0

You can use ALT+F2 gksudo pycharm or ALT+F2 kdesu pycharm `if you are running kde org gnome, but probably there really is no reason to run it as root.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.