class WPAR::Wrapper::StartWpar

Public Class Methods

start(options = {}) click to toggle source
# File lib/wpars/wrapper/startwpar.rb, line 7
def self.start(options = {})
  cmd = "#{options[:command]} #{Constants::STARTWPAR} #{options[:name]}"

  puts "debug: #{cmd}" unless options[:debug].nil?
  External.cmd(cmd: cmd, live_stream: options[:live_stream])
end