Hi Ned and thanks for the response.
I haven't any problem to stop the process but if I kill Django main process no .coverage is produced
and if I kill Django subprocess a .coverage is produced but coverage data is always 0% and I don't understand why.
Solution 2 seems to me applicable only overriding some SocketServer's methods because Web Server instance process http requests in a "while True" cycle, and it's a bit intrusive for my needs.
Thanks anyway and regards,
Andrea