Clarification: It didn't achieve the desired goal.
Code:
/home/user/folder/firefox
xfce4-terminal -e "bash -c 'bleachbit -c firefox.* chromium.history;$SHELL'"
PID_TERM=$(pidof xfce4-terminal)
Kill -TERM -P $PID_TERM
When launched with a menu short cut FF runs.
When FF is closed xfce4 terminal opens and I see the visible output of it running bleachbit.
This is the desired behaviour.
Then the terminal window stays open and nothing I do will close the stupid thing; including your suggestion.
This is not the desired behaviour. IE: it "didn't work". And I'll be danged if I can figure out why the friggin terminal window cannot be made to close from inside this script.