MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / is_running

Method is_running

mod/project/java/groupMod.py:230–234  ·  view source on GitHub ↗
(pid: int)

Source from the content-addressed store, hash-verified

228
229 @staticmethod
230 def is_running(pid: int):
231 try:
232 return psutil.Process(pid).is_running()
233 except:
234 return False
235
236 # 获取运行状态信息
237 def run_status(self, last_write_time: float) -> dict:

Callers 13

run_statusMethod · 0.95
_wait_start_statusMethod · 0.45
_get_pid_by_commandMethod · 0.45
start_projectMethod · 0.45
get_operation_infoMethod · 0.45
run_operationMethod · 0.45
_run_start_one_stepMethod · 0.45
stop_newMethod · 0.45
start_newMethod · 0.45
wait_timeMethod · 0.45
stop_oldMethod · 0.45
runningMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected