Skip to content

panes do not work #1

@adamnbowen

Description

@adamnbowen

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions