#!/usr/bin/env python3 import os import runpy import sys from pathlib import Path TARGET = Path('/Users/snowoyh/.openclaw/workspace/scripts/briefing_mail.py') if not TARGET.exists(): raise SystemExit(f'target script not found: {TARGET}') os.chdir(TARGET.parent) sys.argv = [str(TARGET), *sys.argv[1:]] runpy.run_path(str(TARGET), run_name='__main__')