How to make a bash script keep running in same terminal after it calls second script?
I have a startup script for jboss (start.sh) that sets some JAVA_OPTS and then calls bash run.sh.
If I run it (start.sh) from the command line it runs in the terminal fine. If I make a shortcut launcher for it in gnome and set it for 'application in terminal' it pops up then immediately dies after launch.
Not sure what the problem is. Is this not working because one script is calling a second script? But then why does it work when I call ./start.sh?
ANy help would be greatly appreciated - thanks!