Good morning fellas, i’m writing a shell script to open multiple terminal window for my nodejs projects, is there a way to cancel the command pre-programmed in the shell and still use the terminal in the directory it was open? When i run my script it opens the terminals and run my command “npm run dev” but when i type “ctrl+c” the entire terminal is shutdown instead of just the npm command, heres my script:
xfce4-terminal --working-directory=/home/dalton/repos/ufchat/api_gateway --title=“GATEWAY” -e “npm run dev”
I also have tried:
xfce4-terminal --working-directory=/home/dalton/repos/ufchat/api_gateway --title=“GATEWAY” -e “npm run dev” -H