From: ShaoHe Feng <shaohef(a)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