Make a guess about active foreground & background processes for close confirmation
Submitted by Erika Ahlswede
Link to original bug (#168320)
Description
It would be nice, if feasible, for gnome-terminal to take a look at its child processes when closing a window to see if anything is running except the shell (check against /etc/shells or similar), and use this information to decide whether or not to pop up a close confirmation dialog.
This would put a stop to silly mistakes for users who occasionally launch X apps from terminals and then forget and close them.