Skip to content

Commit

Permalink
Ensuring that all Process calls are made to the global namespace to a…
Browse files Browse the repository at this point in the history
…void conflicts with guard-process.
  • Loading branch information
tanordheim committed Jan 9, 2012
1 parent 4033474 commit 7d0e5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/spork/spork_instance.rb
Original file line number Diff line number Diff line change
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 7d0e5ce

Please sign in to comment.