I have an automated bash script that I run with the pantheon-terminal -e command:
pantheon-terminal -e my_script.sh
At the end of the task, it prints out a summary of the results.
I'd like to have the pantheon-terminal remain open and visible so I can check the results.
I've already tested the following solutions, but without results:
pantheon-terminal -e "my_script.sh ; read" pantheon-terminal -e "my_script.sh ; bash"
Thanks in advance for your help.
Finally I've found the solution.
It's enough to insert the follow command at the end of the bash script (without trying to concatenate more commands in the pantheon-terminal -e option):
read -p "press any key to exit"