I have the problem that Blender does not exit after executing in background mode from command line.
For example this command:
./blender -b -P test.py
gives me this output, but does not exit Blender:
Read prefs: /home/mbc/.config/blender/2.79/config/userpref.blend
found bundled python: /usr/local/blender/blender-2.79-linux-glibc219-x86_64/2.79/python
Hello world
My Python test script is very simple:
import bpy
print("Hello world")
Even if I don't run a Python script but just render a single frame, the Blender process does not exit.
I am running blender-2.79-linux-glibc219-x86_64 on Ubuntu 16.04.3 LTS with linux image version 4.4.0-112-lowlatency.