Skip to content

Commit

Permalink
Merge pull request #340 from vvlad/master
Browse files Browse the repository at this point in the history
Fixes guard-process collision
  • Loading branch information
e2 committed Aug 3, 2015
2 parents 6a4465f + 0cc6215 commit 670bdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rspec/rspec_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _run
def _really_run
env = { "GUARD_RSPEC_RESULTS_FILE" => formatter_tmp_file }
pid = Kernel.spawn(env, command) # use spawn to stub in JRuby
result = Process.wait2(pid)
result = ::Process.wait2(pid)
result.last.exitstatus
rescue Errno::ENOENT => ex
fail Failure, "Failed: #{command.inspect} (#{ex})"
Expand Down

0 comments on commit 670bdd7

Please sign in to comment.