Hey there,

I'm trying to figure out how to get back to a command's HTML window after the command has finished. What I currently have works fine:

#!/usr/bin/env ruby18

require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/executor"

ENV['EDITOR'] = 'mate --wait'
TextMate::Executor.run("eyaml", "edit", "#{ENV['TM_FILEPATH']}")

I have Output set to show in a new HTML window and I do get the output there. I'm just wondering if there's a way to get TM to automatically return to the HTML window after I've closed the modified eyaml (so I don't miss any error output for example).

Thanks,
George