Include debug notification when using subprocess

This commit is contained in:
Chris Roberts 2016-09-30 12:16:53 -07:00
parent 5872611d59
commit 977733790a
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ module Vagrant
begin
if fork_instead
if Vagrant::Util::Platform.windows?
@@logger.debug("Using subprocess because windows platform")
args = args.dup << {notify: [:stdout, :stderr]}
result = Vagrant::Util::Subprocess.execute(command, *args) do |type, data|
case type