lib/beaker/command.rb in beaker-2.10.0 vs lib/beaker/command.rb in beaker-2.11.0

- old
+ new

@@ -146,10 +146,10 @@ val = val.to_s end env_array << "#{key.to_s.upcase}=\"#{val}\"" end - if host['is_cygwin'].nil? or host['is_cygwin'] == true + if not host.is_powershell? environment_string = env_array.join(' ') "env #{environment_string}" else environment_string = '' env_array.each_with_index do |env|