[TxMt] Re: TM hangs while waiting for tm_dialog2

Hans-Jörg Bibiko bibiko at eva.mpg.de
Mon Jan 26 07:07:22 UTC 2009


On 24.01.2009, at 22:41, António Afonso wrote:
> 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?

Try to run your script in the background à la 'yourScript.rb &'


--Hans


More information about the textmate mailing list