I have set up a task manager task to run a script on my VM startup which runs multiple commands needed to get my React app with an express/mongodb backend running. Does anyone know what happens to the Powershell windows which are opened because when I log in there is nothing on my desktop. I hope this makes sense below is the script I am running. Thank you.
start cmd.exe /k pm2 ls
TIMEOUT 30
start cmd.exe /k pm2 resurrect
TIMEOUT 30
cd C:\Users\devuser\Desktop\product_manager\product_manager
start cmd.exe /k serve -s build
PAUSE