On Mac OS X over time I get multiple instances of TextMate running. Is there any way to prevent this?
edit: i'm launching from the command line alias, and from the finder. yes, i only have one copy installed on the hard drive.
Recreation: Textmate is open, I've launched it via clicking on a file in the finder. Then I run this script to open my hosts file with textmate:
#!/bin/bash `/Applications/TextMate.app/Contents/MacOS/TextMate /etc/hosts`
After that I have two instances open. They both show up in task switcher, and they both show up in the dock. When I go to the dock and do "show in finder" they both point to TextMate.app in the applications folder. and, @romainl, yes, there are two instances in the activity monitor.
Is that script the culprit?