I have made some command (at /usr/bin) to Run Application like Matlab, Weka etc in Ubuntu 18.04 LTS. While using Matlab command, it holds the Terminal until I close Matlab or Terminal (if I close Terminal, Matlab also closed). How can I avoid this problem, that means Matlab command will not hold terminal while working? Thank You.
The Following Format has worked before but suddenly not working.
#!/bin/bash setsid /usr/local/MATLAB/R2018a/bin/matlab </dev/null >/dev/null 2>&1 & disown
Now Matlab just open the logo but no further work going on....