I am running these commands in perl script with purpose
- Open a linux terminal
- Run script xbrecoverBoard.sh and rest_board.sh in that terminal
gnome-terminal -x sh -c "./xbrecoverBoard.sh && ./rest_board.sh"; gnome-terminal -x sh -c "./xbrecoverBoard.sh;./rest_board.sh";
For some reason a terminal opens and closes very quick that seems not doing anything although it doesn't give any error in the main terminal that I run perl script. Please help me to resolve the issue and show me how to hold that open terminal from command line.