Skip to content

Commit

Permalink
Revert non-windows to fork
Browse files Browse the repository at this point in the history
Mistakenly left spawn in place for non-windows version
  • Loading branch information
RussellKeane committed Dec 23, 2016
1 parent a73fa6b commit 50c4d45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autotest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
STDOUT.reopen(File::NULL)
Process.waitpid(spawn 'explorer', 'spec.html')
else
Process.waitpid(spawn do
Process.waitpid(fork do
STDOUT.reopen('spec.html')
exec 'ruby', '-I', 'spec', '-S', 'rspec', '-fh', *rerun
end)

Process.waitpid(spawn do
Process.waitpid(fork do
STDERR.reopen('/dev/null')
STDOUT.reopen('/dev/null')
#exec "opera", "-noraise", "-activetab", "spec.html" }
Expand Down

0 comments on commit 50c4d45

Please sign in to comment.