I have a python script that needs to be run from cmd, but should also stay running once the cmd window has been closed. I've tried various combinations of START
and CALL
but I've hit a mental blank (and google isn't helping at all).
Here's what I have:
@echo off
start /b python server.py
start python client-sendmessage.py
exit
server.py
is a singleton, and should continue running after exit
is reached. client-sendmessage.py
should halt the script until it returns.