class method self.spawn

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

self.spawn(port)

No documentation comment.

Parameters

port req
Source
# File railties/lib/commands/process/spawner.rb, line 46
  def self.spawn(port)
    cmd = "#{OPTIONS[:spawner]} -f #{OPTIONS[:dispatcher]} -p #{port} -P #{OPTIONS[:pids]}/#{OPTIONS[:process]}.#{port}.pid"
    cmd << " -a #{OPTIONS[:address]}" if can_bind_to_custom_address?
    system(cmd)
  end

Defined in railties/lib/commands/process/spawner.rb line 46 · View on GitHub · Improve this page · Find usages on GitHub

Defined in FcgiSpawner

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close