I am trying to create a very simple bash script with a GUI. I want it to bring up a dialog where the user can use the arrow keys to select a function, it will complete it and then return to the menu.
I started of using dialog as it will easy to list options but the script always ends once 1 action is complete.
Here is what I have so far :
dialog --menu "Task to perform" 10 30 3 1 This 2 That Office 3 Exit
Can anyone point me to the way of returning to the menu? (or another way!)