From 5573957c52be077660f10a717f357ae36c95607c Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Mon, 3 Jun 2019 23:07:30 -0700 Subject: [PATCH] Go back to cmd from powershell. Apparently it is too much of a shift and I tested too small of a sample. Signed-off-by: Ryan Davis --- test/functional/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/helper.rb b/test/functional/helper.rb index b968b350e..c301a20f0 100644 --- a/test/functional/helper.rb +++ b/test/functional/helper.rb @@ -127,7 +127,7 @@ module FunctionalHelper def inspec(commandline, prefix = nil) if is_windows? - invocation = "powershell -NonInteractive -Command \"#{prefix} bundle exec #{exec_inspec} #{commandline}\"" + invocation = "cmd /C \"#{prefix} #{exec_inspec} #{commandline}\"" result = CMD.run_command(invocation) result.stdout.encode!(universal_newline: true) result.stderr.encode!(universal_newline: true)