Changeset [0ea95a0ddae14d65bc59097ebd92e80e9a647cce] by Tony Kemp

June 10th, 2010 @ 02:50 AM

Catch Errno::EPERM in Process.running?

On some systems (e.g. OpenBSD) you receive an EPERM exception if
you try to Process.getpgid on a process you do not own (even if you
are root). But it does mean that the process exists, so return true.
http://github.com/macournoyer/thin/commit/0ea95a0ddae14d65bc59097eb...

Committed by Tony Kemp

  • M lib/thin/daemonizing.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป