Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Mixlib::ShellOut::EmptyWindowsCommand inherit from ShellCommandFailed | Bryan McLellan | 2017-07-19 | 1 | -1/+1 |
| | | | | | | | | | Chef rescues Mixlib::ShellOut::ShellCommandFailed, SystemCallError in a few places. Recent refactors caused EmptyWindowsCommand to be correctly raised where we still unintentionally raised SystemCallError due to a bad FFI call. This gets us closer to not needing to cover these edge cases in rescue clauses everywhere. Signed-off-by: Bryan McLellan <btm@chef.io> | ||||
* | spec cleanup and some light refactoringlcg/cleanup2 | Lamont Granquist | 2017-02-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | - mostly cleans up the windows specs so its easier to read the API out of them and removes some of the very brittle internal testing - refactors the 'which' logic a bit. trying to converge towards the chef/chef version and eventually extracting common code so that do not have to maintain 10+ slightly different copies everywhere. - adds the Mixlib::ShellOut::EmptyWindowsCommand exception because letting CreateProcessW throw a generic SystemCallError is pretty much useless to everyone. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> | ||||
* | Modified all exceptions to have a common parent | Christian HoĢltje | 2016-01-11 | 1 | -3/+4 |
| | | | | Closes #98 | ||||
* | [CHEF-2994][WINDOWS] Fixed remaining failing tests on windows | Ho-Sheng Hsiao | 2012-05-10 | 1 | -1/+0 |
| | |||||
* | Initial extraction of ShellOut from Chef | Daniel DeLeo | 2011-12-01 | 1 | -0/+8 |