Permalink
Switch branches/tags
Commits on May 11, 2012
  1. Merge pull request #4 from hosh/chef-2994-stdin-support-r1

    hosh committed May 11, 2012
    [CHEF-2994] Mixlib::ShellOut should support STDIN
Commits on May 10, 2012
  1. [RSPEC] Use Rspec 3 metadata

    hosh committed Apr 4, 2012
  2. [CHEF-2994][WINDOWS] Fixed Utils.which()

    hosh committed Apr 2, 2012
    - Factored out Utils.should_run_under_cmd? (simple case)
  3. [CHEF-2994][RSPEC] Fixed specs to run under Unix

    hosh committed Mar 31, 2012
    Ignore Windows unit test
  4. [CHEF-2994][WINDOWS] Mixlib::ShellOut::Windows::Utils.which() is brok…

    hosh committed Mar 31, 2012
    …en and should just return nil instead of flailing around.
  5. [CHEF-2994][WINDOWS] Broke up #command_to_run into manageable chunks

    hosh committed Mar 31, 2012
    May reuse some of these as class methods so they are available as convention/utilities accessible to anyone on the Windows platform
  6. [CHEF-2994][WINDOWS] Added unit tests for private method #command_to_run

    hosh committed Mar 31, 2012
    Fixed bug with quoted .cmd files
    
    Fixed bug with finding .bat in the middle of the filename
  7. [CHEF-2994][WINDOWS] Fixed multiple quotes in command

    hosh committed Mar 30, 2012
    CMD.exe does not parse multiple quotes well unless the whole thing is wrapped up in quotes.
    Workaround:
      chef#2 (comment)
      http://ss64.com/nt/syntax-esc.html
Commits on Mar 31, 2012
  1. Merge pull request #1 from hosh/rspec

    hosh committed Mar 31, 2012
    [RSPEC] Refactored rspec
Commits on Mar 28, 2012
  1. [CHEF-2994][RB192] Turn off rubygems for child ruby processes

    hosh committed Mar 28, 2012
    Sometimes, gems are not sane and trigger deprecation notice. Rather than dealing with that, we disable gems completely.
Commits on Mar 27, 2012
  1. [CHEF-2994][RSPEC] ShellOut#run_command when subprocess pauses before…

    hosh committed Mar 27, 2012
    … reading input should not hang or lose output
Commits on Mar 26, 2012
  1. [CHEF-2994][RSPEC] ShellOut#run_command when subprocess closes premat…

    hosh committed Mar 26, 2012
    …urely with input should raise broken pipe exception
  2. [CHEF-2994][RSPEC] ShellOut#run_command when exiting with invalid cod…

    hosh committed Mar 26, 2012
    …e with input data shuld handle exit code gracefully
  3. [CHEF-2994][RSPEC] ShellOut#run_command when execution fails with inp…

    hosh committed Mar 26, 2012
    …ut should recover the error message
  4. [CHEF-2994][RSPEC] ShellOut#run_command with subprocess that pipes lo…

    hosh committed Mar 26, 2012
    …ts of data through stdin, stdout, and stderr should not hang
  5. [CHEF-2994][RSPEC] ShellOut#run_command with subprocess that reads lo…

    hosh committed Mar 26, 2012
    …ts of data from stdin should not hang
  6. [CHEF-2994][RSPEC] ShellOut#run_command with subprocess that closes s…

    hosh committed Mar 26, 2012
    …tdin and continues writing to stdout should not hang or lose output