Q:
I have shell scripts as attachments in Diagram! that I launch directly from Diagram!. Is there someway to avoid the appearance of a "Dead Terminal"? Or, if it must appear, is there something I can add to the script that will tell the Dead Terminal to go away?
A:
The only thing you can do is kill the Terminal process that is running after you launch the script from Diagram!. You would have to add to the script a ps -aux and grep for Terminal, and through some parsing of that output, get the pid and kill the process. Of course this kills any terminal that you happen to have launched, which could be inconvenient depending on who you want to have running the script.