Module: Process

Module Process < Connection

(in files lib/thin/daemonizing.rb )

Connection through a UNIX domain socket.

Includes

Methods

Public Instance running?(pid)

Returns true the process identied by pid is running.

    # File lib/thin/daemonizing.rb, line 6
 6:   def running?(pid)
 7:     Process.getpgid(pid) != -1
 8:   rescue Errno::ESRCH
 9:     false
10:   end