's'
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user