I was actually hoping to have the script directly in the bundle command, nonetheless, I've put the code in an external file and changed the command to:
ruby ~/Desktop/bundle.rb &
Still no luck, I get the exact same behavior :( I forgot to tell you that I'm running Version 1.5.8 (1496) and just svn up'ed Tools, Support and PlugIns yesterday.
Cumprimentos, António Afonso
On Mon, Jan 26, 2009 at 08:07, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
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
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate