0

A novice question... but please help.

I often run "stuff" in the VS code terminal, things like local webapps being served on localhost, scheduled process, etc...

Note: I'm on windows

The workflow is something like:

  1. Turn on computer
  2. Open VS Code
  3. Open the integrated terminal in VS Code (using gitbash)
  4. Run bash start.sh where start.sh is a script that starts some "long-running" processes (eg. Airflow, Streamlit apps, etc...)

The problem is:

  • If I close VS code the processes die
  • If I reboot the computer the processes don't restart

I have 'a' solution, but I don't like it:

  • Build these into docker containers and have these managed by the docker deamon

It seems overkill for quick things that I just want to have running.

So, is there a way to have things from the VS Code terminal "survive/restart" a VS Code close/computer reboot?

MYK
  • 1,988
  • 7
  • 30

0 Answers0