MCPcopy Create free account
hub / github.com/apache/kafka / terminate_process

Function terminate_process

system_test/utils/system_test_utils.py:279–286  ·  view source on GitHub ↗
(pidStack)

Source from the content-addressed store, hash-verified

277 raise
278
279def terminate_process(pidStack):
280 while ( len(pidStack) > 0 ):
281 pid = pidStack.pop()
282 try:
283 os.kill(int(pid), signal.SIGTERM)
284 except:
285 print "WARN - pid:",pid,"not found"
286 raise
287
288
289def convert_keyval_to_cmd_args(configFilePathname):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected