co-maps/tools/python/test_server/stop_server.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
134 B
Python
Raw Permalink Normal View History

2025-11-22 13:58:55 +01:00
#!/usr/bin/env python3
import subprocess
from server.config import PORT
subprocess.call(['curl', f'http://localhost:{PORT}/kill'])