Fix #3951 Update Windows::Registry to use cmd_exec

bug/bundler_fix
jvazquez-r7 2015-06-29 12:07:37 -05:00
parent 656e6f5c73
commit 02cd2a9cd9
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ protected
elsif view == REGISTRY_VIEW_64_BIT elsif view == REGISTRY_VIEW_64_BIT
cmd += " /reg:64" cmd += " /reg:64"
end end
session.shell_command_token_win32("#{cmd} #{suffix}") cmd_exec("#{cmd} #{suffix}")
end end
def shell_registry_cmd_result(suffix, view = REGISTRY_VIEW_NATIVE) def shell_registry_cmd_result(suffix, view = REGISTRY_VIEW_NATIVE)