Commit ccf6de5e authored by José Henrique's avatar José Henrique
Browse files

Fix kill_process function

parent a7579ed1
......@@ -8,6 +8,7 @@ import time
import json
import sys
import glob
import signal
docker_client = docker.from_env()
stop_check_thread = False
......@@ -23,7 +24,7 @@ def kill_container(container_name):
def kill_process(pid):
try:
os.kill(pid)
os.kill(pid, signal.SIGKILL)
except OSError:
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment