Skip to content

Commit

Permalink
Fixes guard-process collision
Browse files Browse the repository at this point in the history
  • Loading branch information
vvlad committed Aug 3, 2015
1 parent 6a4465f commit 0cc6215
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 0cc6215

Please sign in to comment.