I found myself getting very confused a while back by some changes that I found when moving Python scripts from Linux over to OS X...
On Linux, if a Python script has called os.system(), and the calling process is killed, the called process will be killed at the same time.
On OS X, however, if the main process is killed, anything that it launched is left behind.
Is there something somewhere in OS X/Python where I can change this behaviour?
This is causing problems on our render farm, where the processes can be killed from the management GUI, but the top level process is really just a wrapper, so, while the render farm management might think that the process has gone and the machine is freed up for another task, the actual processor-intensive task is still running, which can lead to huge blockages.
I know that I could write more logic to catch the kill signal and pass it on to the child processes, but I was hoping that it might be something that could be enabled at a lower level.