Top Level Namespace

Defined Under Namespace

Modules: ArrayExtension, FlickrExample, Java, SGrid, SeleniumGrid, Statt Classes: File, MultiProcessSpecRunner, TCPSocket

Instance Method Summary collapse

Instance Method Details

#launch_in_terminal(title, command) ⇒ Object



11
12
13
# File 'lib/selenium-grid/sample-scripts/launch-remote-controls.rb', line 11

def launch_in_terminal(title, command)
  launch_on_unix(title, command)
end

#launch_on_unix(title, command) ⇒ Object

Launch a collection of remote controls



6
7
8
9
# File 'lib/selenium-grid/sample-scripts/launch-remote-controls.rb', line 6

def launch_on_unix(title, command)
  terminal = ENV['TERM'] || "xterm"
    system "#{terminal} -t '#{title}' -e '#{command}'"
end