From: Tom Hromatka Date: Wed, 23 Feb 2022 17:39:01 +0000 (-0700) Subject: process.py: Explicitly convert child to starting X-Git-Tag: v3.1.0~308^2~2^2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b07d546037a3c92b6ccfece81a06c1a13917a3;p=thirdparty%2Flibcgroup.git process.py: Explicitly convert child to starting When killing the child processes, explicitly convert them to strings. Suggested-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/ftests/process.py b/ftests/process.py index 22288027..5aa0fefc 100644 --- a/ftests/process.py +++ b/ftests/process.py @@ -179,9 +179,9 @@ class Process(object): for child in self.children_pids: try: if config.args.container: - config.container.run(['kill', child]) + config.container.run(['kill', str(child)]) else: - Run.run(['kill', child]) + Run.run(['kill', str(child)]) except (RunError, ContainerError): # ignore any errors during the kill command. this is belt # and suspenders code