mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-12 21:02:13 +08:00
* Revert "Remove `setproctitle` (#32716)" This reverts commit 9020d1931f4cd72f8162e4402278bdf76e3746f2. * uv lock * old name old-commit-hash: 29b58d4f2fcc982d5c06ed8391e368b1b293a96c
This commit is contained in:
@@ -8,7 +8,7 @@ from collections.abc import Callable, ValuesView
|
||||
from abc import ABC, abstractmethod
|
||||
from multiprocessing import Process
|
||||
|
||||
from openpilot.common.threadname import setthreadname
|
||||
from setproctitle import setproctitle
|
||||
|
||||
from cereal import car, log
|
||||
import cereal.messaging as messaging
|
||||
@@ -27,7 +27,7 @@ def launcher(proc: str, name: str) -> None:
|
||||
mod = importlib.import_module(proc)
|
||||
|
||||
# rename the process
|
||||
setthreadname(proc)
|
||||
setproctitle(proc)
|
||||
|
||||
# create new context since we forked
|
||||
messaging.reset_context()
|
||||
|
||||
Reference in New Issue
Block a user