summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout.rb
Commit message (Collapse)AuthorAgeFilesLines
* add sensitive featuredheerajd-msys2018-06-151-0/+6
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Launch process with elevated tokenNimishaS2017-07-191-0/+6
| | | | Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
* fix chefstyle offensesLamont Granquist2017-06-201-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* spec cleanup and some light refactoringlcg/cleanup2Lamont Granquist2017-02-011-3/+3
| | | | | | | | | | | | | | | - 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>
* Fix the timeout in the comment to be correctTim Smith2017-01-131-1/+1
|
* Resolve most chefstyle warningsTim Smith2016-10-071-28/+28
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* opscode -> ChefTim Smith2016-02-171-2/+2
|
* convert environment hash keys to stringsEvan Tschuy2015-11-101-1/+5
| | | | | | | by converting the hash keys to strings, we can use symbols in our environment blocks: environment {FOO: 'bar', SHELL: 'zsh'}
* Fix 2 ruby warnings for uninitialized variablesdanielsdeleo2015-05-151-0/+1
|
* Added TODO for next majorNitz2015-02-151-0/+3
|
* Option "login" now simulates login in unixNitz2015-02-151-3/+14
| | | | | | | | | Added: * Secondary groups from etc files * Set environment variables like `su` would * Set primary group to user's primary group if no other group specified All only if `login` is set
* Document input and live stream options to `new`danielsdeleo2014-11-241-0/+11
|
* Add buffering to the process status pipeRyan Cragun2014-10-311-1/+1
|
* remove LC_ALL default environment variableLamont Granquist2014-08-281-15/+4
| | | | now that we no longer support ruby 1.8.7 its time to retire this
* Simplify live_stream vs live_stdout vs live_stderr based on PR commentsMax Lincoln2014-07-171-23/+22
|
* Support separate live stream for stderrMax Lincoln2014-07-171-2/+22
|
* Merge pull request #26 from akshaykarle/masterSerdar Sutay2014-05-131-3/+3
|\ | | | | [#MIXLIB-19] Copy stderr to live_stream along with stdout of the subprocess
| * Add stderr to live_stream.Akshay Karle2013-09-261-3/+3
| |
* | Adds error? method to check whether the process exited successfully. This ↵Chris Armstrong2014-01-211-8/+12
| | | | | | | | allows the user to use custom error-handling logic. error! now uses error? internally.
* | Add termination info to error messagesdanielsdeleo2013-11-041-0/+2
|/ | | | | If no logger is configured, we still want to inform the user that the process was killed (and how).
* Make sure the parent process' LC_ALL setting is passed to subprocess when ↵sersut2013-06-141-0/+6
| | | | LC_ALL is set to nil in the :environment setting.
* Add option validationMoser, Kevin2013-03-131-1/+5
|
* Remove remote_call optionMoser, Kevin2013-01-151-3/+0
|
* Add process impersonationMoser, Kevin2013-01-111-0/+11
|
* MIXLIB_SHELLOUT-02: Fix comments about default timeout to avoid confusion.Matthew Kent2012-10-241-1/+1
|
* [CHEF-2994][STDIN] Child process should accept stdin input if input is specifiedHo-Sheng Hsiao2012-03-261-1/+0
|
* [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
|
* update license headers and datesDaniel DeLeo2011-12-011-1/+1
|
* 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
|
* add doc for the attributesDaniel DeLeo2011-12-011-6/+40
|
* Initial extraction of ShellOut from ChefDaniel DeLeo2011-12-011-0/+237