Use popen.signal.SIG*
constants instead of os.execute('kill -%s %d')
#359
Labels
code health
Improve code readability, simplify maintenance and so on
luatest/luatest/process.lua
Lines 94 to 102 in f8a1c10
Tarantool provides signal name to signal number mapping since the 2.4.1 version. We can use it if available and fallback to
os.execute()
on older versions.The text was updated successfully, but these errors were encountered: