Job 1788377711709

Command: python -c "import psutil,subprocess,sys,time;from pathlib import Path;w=Path('low_latency_relay_v4diag.py').resolve();old=[]; for p in psutil.process_iter(['pid','cmdline']): c=p.info.get('cmdline') or []; if len(c)>=2 and Path(c[1]).name=='low_latency_relay_v4diag.py': old.append(p) print('OLD_PIDS='+','.join(str(p.pid) for p in old)); for p in old: p.terminate(); try:p.wait(5) except psutil.TimeoutExpired:p.kill() flags=getattr(subprocess,'DETACHED_PROCESS',0)|getattr(subprocess,'CREATE_NEW_PROCESS_GROUP',0);n=subprocess.Popen([sys.executable,str(w)],cwd=str(w.parent),stdin=subprocess.DEVNULL,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,close_fds=True,creationflags=flags);print('NEW_PID='+str(n.pid))"
Directory: projects
Status: SUCCESS
Exit code: 0

Cancel Job Rerun Command Refresh