def dash_process_server(): """Start a Dash server with subprocess.Popen and waitress-serve""" with ProcessRunner() as starter: yield starter
def doc_server(): with ProcessRunner() as server: server(raw_command="python index.py", port=8060, start_timeout=60) yield server