import pathlib,subprocess,json root=pathlib.Path('/home/ps/huobao-video-cleanup');out=root/'historical-20261112' assert (out/'probe-done.json').exists() assert not (out/'orphan-probe.log').exists() with (out/'orphan-probe.log').open('w') as log: p=subprocess.Popen(['python3',str(root/'historical_cleanup_hash_probe_server.py')],stdout=log,stderr=subprocess.STDOUT,start_new_session=True) print(json.dumps({'started':p.pid,'mode':'read-only checksum recovery'}))