16 lines
339 B
Python
16 lines
339 B
Python
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
|
|
# Change directory to the project root
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
try:
|
|
import manage_webui
|
|
except ImportError:
|
|
print("Error: manage_webui.py not found in the project root.", file=sys.stderr)
|
|
sys.exit(1)
|
|
|
|
if __name__ == '__main__':
|
|
manage_webui.stop()
|