[TxMt] TM hangs while waiting for tm_dialog2

António Afonso antonio.afonso at gmail.com
Sat Jan 24 21:41:53 UTC 2009


I'm trying to use tm_dialog2 on a Bundle but I've run into a problem,
while waiting (nib --wait) for user input TM will hang until I killall
-9 tm_dialog2. It works fine on a shell though.
The offending lines:

token = %x{"$DIALOG" nib --load ~/Desktop/Document --model '{document
= {name = blah;};}'}
print %x{"$DIALOG" nib --wait #{token}}

Maybe I didn't read all the available documentation, but I couldn't find any :\
Can anyone help me out on this one?

Thanks in advance.

António Afonso

More information about the textmate mailing list