This commit is contained in:
eric
2026-03-24 11:56:11 -05:00
parent e6eb1c075b
commit 9e812215d2
16 changed files with 1797 additions and 155 deletions

View File

@@ -15,6 +15,8 @@ from typing import Any, Callable, Optional
import psutil
from web2_proxy_config import merge_child_env
def use_builtin() -> bool:
return os.environ.get("WEB2_SUPERVISOR", "builtin").strip().lower() != "pm2"
@@ -114,6 +116,7 @@ class BuiltinSupervisor:
stdout=out_f,
stderr=err_f,
creationflags=0,
env=merge_child_env(),
)
except Exception as e:
out_f.close()