I use MacBook Air with OSX 10.7.2 and TextMate Version 1.5.10 (1631).

If I type:

mate -w 1.txt

and then close TextMate, the shell doesn't return (i.e. I don't get the shell prompt back).

According to mate --help:

-w, --wait             Wait for file to be closed by TextMate.

Any ideas why -w option doesn't work as expected?

link|improve this question

It works for me on 10.7.2 / 1.5.10. Have you tried running it with default TextMate or terminal configurations? – Lri Nov 23 '11 at 10:55
Just tried it 10.7.2/1.5.10: mate -w a.txt and indeed, it does not work - the prompt does not return when TextMate is closed. Seems like a bug to me. – Traveling Tech Guy Nov 23 '11 at 11:02
1  
This is actually the same question as "Alias that allows to edit ~/.bashrc and then “sources” it automatically - Why it doesn't work?". The only reason that things failed in that other question in the first place is that this behaviour occurs; and an answer to this question is an answer to that question as well. – JdeBP Nov 23 '11 at 12:02
@Lri: I run it with a default TextMate. – Misha Moroshko Nov 23 '11 at 19:15
Do you have this problem (and the bashrc problem JdeBP linked to) with a different user account on your machine? – Daniel Beck Jan 8 at 22:20
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.