When can you close a terminal that has opened a program
This question has nagged at me for quite a while now. I've noticed that if you open a program in the terminal, for my usually a virtualization software, and that if it runs long enough, you can close the terminal without kill the program. However, there seems to be a certain amount of time the program must be open in order to not be killed when the terminal is closed.
Sorry if that is unclear, i can rephrase it if need be.
Does anyone know exactly what determines IF/WHEN closing the terminal also kills the process spawned by said terminal?