Flush log stream before exec

This commit is contained in:
Jack Nagel 2014-09-05 15:13:53 -05:00
parent b9c796999b
commit 7c47060702

View File

@ -511,6 +511,7 @@ class Formula
log = File.open(logfn, "w") log = File.open(logfn, "w")
log.puts Time.now, "", cmd, args, "" log.puts Time.now, "", cmd, args, ""
log.flush
if verbose if verbose
rd, wr = IO.pipe rd, wr = IO.pipe