On 16 Nov 2010, at 17:49, Justin Catterall wrote:
[...] The initial call to TM is working because TM activated. Any ideas how to make the next step work?
The mate command uses distributed objects to talk to TextMate. Starting with 10.5 or 10.6 this is no longer supported from a shell session when there is no connection to the window server (AFAIK).
As a workaround you can alias ‘mate’ to ‘open -a TextMate’. It won’t be able to do -w though.