method
spawn
rails latest stable - Class:
FcgiSpawner
spawn(port)public
No documentation available.
# 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