Do not buffer stdout/stderr

This commit is contained in:
Mitchell Hashimoto 2011-12-10 13:44:34 -08:00
parent c41e758a0a
commit 5cf0c527a3
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ require 'vagrant/cli'
logger = Log4r::Logger.new("vagrant::bin::vagrant")
logger.info("`vagrant` invoked: #{ARGV.inspect}")
# Stdout/stderr should not buffer output
$stdout.sync = true
$stderr.sync = true
# These will be the options that are passed to initialze the Vagrant
# environment.
opts = {}