Include debug notification when using subprocess
This commit is contained in:
parent
5872611d59
commit
977733790a
|
@ -23,6 +23,7 @@ module Vagrant
|
||||||
begin
|
begin
|
||||||
if fork_instead
|
if fork_instead
|
||||||
if Vagrant::Util::Platform.windows?
|
if Vagrant::Util::Platform.windows?
|
||||||
|
@@logger.debug("Using subprocess because windows platform")
|
||||||
args = args.dup << {notify: [:stdout, :stderr]}
|
args = args.dup << {notify: [:stdout, :stderr]}
|
||||||
result = Vagrant::Util::Subprocess.execute(command, *args) do |type, data|
|
result = Vagrant::Util::Subprocess.execute(command, *args) do |type, data|
|
||||||
case type
|
case type
|
||||||
|
|
Loading…
Reference in New Issue