Skip to content

Commit

Permalink
Merge pull request guard#61 from tanordheim/global_namespace_process_fix
Browse files Browse the repository at this point in the history
Ensure that all Process calls are made to the global namespace
  • Loading branch information
thibaudgg committed Jan 9, 2012
2 parents 4033474 + 7d0e5ce commit 878ba15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/spork/spork_instance.rb
Expand Up @@ -35,7 +35,7 @@ def stop

def alive?
return false unless pid
Process.waitpid(pid, Process::WNOHANG).nil?
::Process.waitpid(pid, ::Process::WNOHANG).nil?
end

def running?
Expand Down

0 comments on commit 878ba15

Please sign in to comment.