Job 1788378954832

Command: python -c "from pathlib import Path;import py_compile,shutil,time;p=Path('low_latency_relay_v4diag.py');b=p.with_name(p.name+'.pre_wrapper_root_'+time.strftime('%Y%m%dT%H%M%S')+'.bak');shutil.copy2(p,b);s=p.read_text(encoding='utf-8');s=s.replace(' sr.monitor_started_jobs(cfg)\n status, data = sr.http_json',' status, data = sr.http_json');s=s.replace(' if command:\n process_command(cfg, command)',' if command:\n process_command(cfg, command)\n else:\n sr.monitor_started_jobs(cfg, max_checks=1)',1) if 'sr.monitor_started_jobs(cfg, max_checks=1)' not in s else s;ins='\n\ndef acquire_singleton():\n import ctypes\n h = ctypes.windll.kernel32.CreateMutexW(None, False, \"Local\\\\ChatGPTMasterBridgeV1Relay\")\n if not h or ctypes.windll.kernel32.GetLastError() == 183:\n return None\n return h\n';s=s.replace('\ndef run_loop():',ins+'\ndef run_loop():',1) if 'ChatGPTMasterBridgeV1Relay' not in s else s;s=s.replace('def run_loop():\n cfg = sr.require_config()','def run_loop():\n singleton = acquire_singleton()\n if singleton is None:\n return\n cfg = sr.require_config()',1) if 'singleton = acquire_singleton()' not in s else s;p.write_text(s,encoding='utf-8');py_compile.compile(str(p),doraise=True);print('WRAPPER_ROOT_OK')"
Directory: projects
Status: SUCCESS
Exit code: 0

Cancel Job Rerun Command Refresh

WRAPPER_ROOT_OK