summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean inherited file descriptors from the parent while forking subprocess.sersut2013-04-161-0/+22
|
* Set domain to . if no domain is passedMoser, Kevin2013-03-131-2/+3
|
* Update hash reference to symbolsMoser, Kevin2013-03-131-2/+2
|
* Add option validationMoser, Kevin2013-03-133-1/+19
|
* Update comments for why to use LogonUser and CreateProcessAsUser in some casesMoser, Kevin2013-02-221-1/+4
|
* Fix commentsMoser, Kevin2013-01-151-2/+3
|
* Revert "Bump version to 1.2.0 to package gem locally"Moser, Kevin2013-01-151-1/+1
| | | | This reverts commit 8d4efcd52d7a445769aa7e8b58285ac8fade64ed.
* Bump version to 1.2.0 to package gem locallyMoser, Kevin2013-01-151-1/+1
|
* Add check for service window station and do logonuser if soMoser, Kevin2013-01-151-267/+195
|
* Remove remote_call optionMoser, Kevin2013-01-152-5/+0
|
* Remove local_system fileMoser, Kevin2013-01-151-72/+0
|
* Add local_system fileMoser, Kevin2013-01-112-1/+73
|
* Add process impersonationMoser, Kevin2013-01-113-27/+89
|
* MIXLIB_SHELLOUT-02: Fix comments about default timeout to avoid confusion.Matthew Kent2012-10-242-2/+2
|
* CHEF-3390: Avoid GC during Marshall.loadBryan McLellan2012-09-171-5/+9
| | | | | | | Ruby < 1.8.7p369 has a bug related to Marshall.load and GC, so let's disable Garbage Collection a little earlier. http://bugs.ruby-lang.org/issues/4339
* Release 1.1.01.1.0Bryan McLellan2012-08-061-1/+1
| | | | | Adds stdin support, which allows passing data to stdin of the command run. Also adds additional spec tests.
* Release 1.1.0.rc.11.1.0.rc.1Bryan McLellan2012-08-061-1/+1
|
* [CHEF-2994][WINDOWS] Expanded Utils.should_run_under_cmd?() to work like ↵Ho-Sheng Hsiao2012-05-101-1/+34
| | | | Ruby system()
* [CHEF-2994][WINDOWS] Fixed Utils.which()Ho-Sheng Hsiao2012-05-101-10/+26
| | | | - Factored out Utils.should_run_under_cmd? (simple case)
* [CHEF-2994][WINDOWS] Mixlib::ShellOut::Windows should push input into stdinHo-Sheng Hsiao2012-05-101-0/+5
|
* [CHEF-2994][WINDOWS] Mixlib::ShellOut::Windows::Utils.which() is broken and ↵Ho-Sheng Hsiao2012-05-101-1/+4
| | | | should just return nil instead of flailing around.
* [CHEF-2994][WINDOWS] Factored out utility methods to ↵Ho-Sheng Hsiao2012-05-101-18/+24
| | | | Mixlib::ShellOut::Windows::Utils
* [CHEF-2994][WINDOWS] Broke out monkey patches to ↵Ho-Sheng Hsiao2012-05-102-364/+389
| | | | mixlib/shellout/windows/core_ext
* [CHEF-2994][WINDOWS] Broke up #command_to_run into manageable chunksHo-Sheng Hsiao2012-05-101-14/+19
| | | | May reuse some of these as class methods so they are available as convention/utilities accessible to anyone on the Windows platform
* [CHEF-2994][WINDOWS] Added unit tests for private method #command_to_runHo-Sheng Hsiao2012-05-101-2/+2
| | | | | | Fixed bug with quoted .cmd files Fixed bug with finding .bat in the middle of the filename
* [CHEF-2994][WINDOWS] Fixed remaining failing tests on windowsHo-Sheng Hsiao2012-05-102-2/+1
|
* [CHEF-2994][WINDOWS] Fixed multiple quotes in commandHo-Sheng Hsiao2012-05-101-1/+5
| | | | | | | CMD.exe does not parse multiple quotes well unless the whole thing is wrapped up in quotes. Workaround: https://github.com/opscode/mixlib-shellout/pull/2#issuecomment-4837859 http://ss64.com/nt/syntax-esc.html
* [CHEF-2994][STDIN] Child process should accept stdin input if input is specifiedHo-Sheng Hsiao2012-03-262-9/+27
|
* [CHEF-2994][STDIN] ShellOut.new should accept input as an optionHo-Sheng Hsiao2012-03-261-0/+4
|
* [CHEF-2994][STDIN] Option :input should be set to nil by defaultHo-Sheng Hsiao2012-03-261-0/+5
|
* Bump for 1.0.0 release.1.0.0Noah Kantrowitz2012-02-281-1/+1
|
* [CHEF-2947] properly remove STDERR from list of fds to select/readDaniel DeLeo2012-02-221-2/+2
| | | | | | | | | | Properly remove child's stderr pipe from the list of IO objects to select on in the case that stdout has already been removed from the list. This prevents a situation where the stdout stream is always considered readable by select (because it has reached eof) but ShellOut would attempt to read from it in a tight loop. Since GC is disabled while a command is running, this would generate a bunch of EOFError objects that were not reaped and use a ton of heap space.
* exceptions are in the Mixlib::ShellOut namespace not Chef::Exceptions!!Seth Chisamore2011-12-161-1/+1
|
* [CHEF-2819] fixes from Chef::ShellOut::Windows 0.10.8Seth Chisamore2011-12-151-11/+42
| | | | | | | * smart resolution of any file with extension in %PATHEXT% * ensure *.bat and *.cmd files are executed under `cmd /c` * ensure STDIN is *also* redirected as many programs (ie xcopy) will fail silently if only STDOUT is
* [CHEF-2721] Fix not_if and only_if on WindowsSeth Chisamore2011-12-151-0/+3
|
* bump RC version with some test fixes1.0.0.rc.1Daniel DeLeo2011-12-061-1/+1
|
* ShellOut not Shellout1.0.0.rc.0Daniel DeLeo2011-12-011-1/+1
|
* update CommandTimeout with new exception namespacingSeth Chisamore2011-12-011-1/+1
|
* update license headers and datesDaniel DeLeo2011-12-012-1/+19
|
* remove hardcoded Chef::Log, allow a logger to be set on createDaniel DeLeo2011-12-011-15/+22
|
* document more methods in ShellOut base classDaniel DeLeo2011-12-011-0/+9
|
* indent `when` to the same depth as `case`Daniel DeLeo2011-12-011-35/+35
|
* add doc for the attributesDaniel DeLeo2011-12-011-6/+40
|
* Initial extraction of ShellOut from ChefDaniel DeLeo2011-12-015-0/+1027