mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
improved subprocess cmd logging
This commit is contained in:
@@ -175,7 +175,7 @@ class JanusRunner: # pylint: disable=too-many-instance-attributes
|
||||
for part in self.__cmd
|
||||
]
|
||||
self.__janus_proc = await aioproc.run_process(cmd)
|
||||
get_logger(0).info("Started Janus pid=%d: %s", self.__janus_proc.pid, cmd)
|
||||
get_logger(0).info("Started Janus pid=%d: %s", self.__janus_proc.pid, tools.cmdfmt(cmd))
|
||||
|
||||
async def __kill_janus_proc(self) -> None:
|
||||
if self.__janus_proc:
|
||||
|
||||
Reference in New Issue
Block a user