lib/cukeforker/worker.rb in cukeforker-0.2.0 vs lib/cukeforker/worker.rb in cukeforker-0.2.1
- old
+ new
@@ -80,9 +80,13 @@
$stdout.reopen stdout
$stderr.reopen stderr
failed = Cucumber::Cli::Main.execute args
+
+ $stdout.flush
+ $stderr.flush
+
exit failed ? 1 : 0
end
end # Worker
end # CukeForker