I usually use the linux subsystem when I'm programming anything on Windows 10 so all my paths are relative to
~. I have a python script that runs forever in the background until I kill the process. How would I do that on Windows 10 bash without an open terminal?
Things I've tried:
bash -c "python3 script.pyfrom Run.
nohup python3 -u script.pythen closing the terminal.
setsid python3 script.pythen closing the terminal.
None of these worked. Is there a way to do this? Alternatively, is there a way to alter the paths so they work if I run the script from W10 AND bash without having to switch them around every time?