Before each coding session, I have to run an .sh script which performs backup and other similar actions regarding my ROR project.
What I would pretty much like, is my script to end by launching RubyMine.
The problem is that whatever I try, the Terminal Window remains open and shows the RubyMine trace info.
IF I accidentally close this Terminal, then RubyMine ALSO closes withouth any further notice and without saving anything (ugh!)
As you understand this is not acceptable, however I belive there should be a way of launching RubyMine from an .sh script AND return.
So far I've tried to use the following commands inside the .sh file (alas with no success)
1. mine (terminal does not return)
2. nohup mine (terminal returns but ANOTHER terminal opens which does not return)
3. mine & (nothing happens)
Could anybody help me?
Thanks in advance