opscode/chef — pull request #1565 by jmink (2014-06-26 19:32:46+00:00)
Title: Chef 4994: knife cookbook site share fails on windows

Full ticket details here: https://tickets.opscode.com/browse/CHEF-4994

cookbook_site_share was using the deprecated Chef::Mixin::Command. Moving it over to Chef::Mixin::ShellOut clears up the issue.

Tested by manually uploading a cookbook from Mac & Windows as well as running unit and functional tests on Mac OS.