Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add check_pid, and handle stale PID info in ipcluster. #429

Merged
merged 1 commit into from May 16, 2011
Commits on May 11, 2011
  1. add check_pid, and handle stale PID info in ipcluster.

    minrk committed May 11, 2011
        
    ipcluster now actually tries to check if a program with a PID is running, better handling stale (or fake) PID files.
        
    Checks are via `kernel32.OpenProcess` on Windows and `ps x` on everything else.  If the operation fails, then the process is assumed to exist, effectively falling back on prior behavior.
    
    closes gh-428