[Kimchi-devel] [PATCH V2] add a synchronous function with timeout to execute command
shaohef at linux.vnet.ibm.com
shaohef at linux.vnet.ibm.com
Fri Jan 10 14:10:32 UTC 2014
From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
V1 -> V2
check timeout happens and report a specific error
+ if proc.returncode == -9 and timeout_flag[0] is True:
+ kimchi_log.error("subprocess is killed by signal.SIGKILL "
+ "for timeout %s seconds", timeout)
ShaoHe Feng (1):
add a synchronous function with timeout to execute command
src/kimchi/utils.py | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
--
1.8.4.2
More information about the Kimchi-devel
mailing list