vagrant/plugins/communicators
Shawn Neal 291f01045b Fixed issue 3918
Running Windows guest commands through a scheduled task were not returning the correct exit codes, they were only returning 1 or 0. This has negative consequences especially for Puppet which can return an exit code of 2 for partial success.

Since we're running an executable from inside a powershell encoded command we need to ensure we explicitly propagate the exit code to the original caller just like a regular PowerShell script - in this case cmd /c which in return is called from a scheduled task.
2014-05-28 08:54:36 -07:00
..
ssh Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
winrm Fixed issue 3918 2014-05-28 08:54:36 -07:00