lib/invoker/process_manager.rb
def start_process_by_name(process_name)
      if process_running?(process_name)
        Invoker::Logger.puts "\nProcess '#{process_name}' is already running".colorize(:red)
        return false
      end

      process_info = Invoker.config.process(process_name)
      start_process(process_info) if process_info
    end
# Start a process given their name
# @param process_name [String] Command label of process specified in config file.
Start a process given their name
Start a process given their name
def start_process_by_name(process_name)
      if process_running?(process_name)
        Invoker::Logger.puts "\nProcess '#{process_name}' is already running".colorize(:red)
        return false
      end
      process_info = Invoker.config.process(process_name)
      start_process(process_info) if process_info
    end
def start_process_by_name ( process_name ) if process_running? ( process_name ) Invoker :: Logger . puts "\nProcess '#{process_name}' is already running" . colorize ( :red ) return false end process_info = Invoker . config . process ( process_name ) start_process ( process_info ) if process_info end
Start a process given their name
Start a process given their name
process_name
Command label of process specified in config file.
Command label of process specified in config file .