Sorry if my title is a little hard to understand, I tried to condense the issue as much as possible.
I'm trying to run a bash script which opens a new terminal for each major command, that way I can see the info the program is telling me. Problem is, the script only opens the new terminal for the next line of script when the previous terminal is closed (which is not an option for this application). To make it abundantly clear, I need all 3 terminals open at the same time.
Running each line of code individually from the terminal works but obviously that defeats the purpose of the script. Here is my code:
#!/bin/bash gnome-terminal -x /bin/bash haguichi -d cd /home/reed/StarMade gnome-terminal -x java -jar StarMade.jar -force gnome-terminal -x ./StarMade-dedicated-server-linux.sh
I've also tried adding -s and -m to see if it would work, but it just broke the code completely. Help?
EDIT: I fixed the error by adding & at the end of the lines. Thanks for your help!