achiu/consular-iterm — Issue #1: panes do not work
Author: adamnbowen
Created: 2011-11-17 17:23:55+00:00
State: open

Okay, so it looks like panes are not working in the current version of iterm. Here is the (fairly unhelpful) console dump:

```
11/17/11 12:17:55 PM	iTerm[17182]	Cocoa scripting error for '(null)': four character codes must be four characters long.
11/17/11 12:17:55 PM	iTerm[17182]	.scriptSuite warning for result type of command 'launch' in suite 'iTerm': the type PTYSession ('Pssn') doesn't match the result Apple event code ('').
```
The only thing iTerm manages to do is open up a new tab (though no commands are run). Just for fun, here's the script I was trying to run:

```ruby
directory = '~/Sites/elysa'
url = 'elysa'

tab :name => "elysa" do
pane do
run "cd #{directory}"
run 'compass watch'

pane do
run "cd #{directory}"
run "mvim --cmd 'cd #{directory}'"
run 'zsh'
run "open http://#{url}"
run 'clear'
end
end
end
```