3

Whenever I want to run a program (usually GUI) from terminal, but I want to keep it free for further use, I run the program like this:

./Programs/androidstudio 2>/dev/null >/dev/null &

This just works. I was wondering if this is the right way to do it, or if there's a shortcut way.

P.S: I don't need to keep the program running when I close the terminal. I use guake and I always keep it open.

Mousa
  • 453

1 Answers1

4

For detached start try

 nohup <program> &!
FixXxeR
  • 176