lib/autobuild/subcommand.rb in autobuild-1.5.23 vs lib/autobuild/subcommand.rb in autobuild-1.5.24
- old
+ new
@@ -139,11 +139,11 @@
cread, cwrite = IO.pipe # to control that exec goes well
cwrite.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
pid = fork do
- cwrite.sync = true
begin
+ cwrite.sync = true
if Autobuild.nice
Process.setpriority(Process::PRIO_PROCESS, 0, Autobuild.nice)
end
if outwrite