summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use our github_changelog_generator and update Travis configTim Smith2017-04-181-8/+12
| | | | | | | Use the same config we’re using in the other mixlibs Also fix a chefstyle warning Signed-off-by: Tim Smith <tsmith@chef.io>
* spec cleanup and some light refactoringlcg/cleanup2Lamont Granquist2017-02-013-56/+39
| | | | | | | | | | | | | | | - 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>
* remove largely useless Utils classLamont Granquist2017-01-271-120/+126
| | | | | | | | its just a collection of private methods, they should be private methods retain a method in the class that was being used externally. 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-074-129/+129
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #116 from docwhat/commonexceptionsThom May2016-10-071-3/+4
|\ | | | | Modified all exceptions to have a common parent
| * Modified all exceptions to have a common parentChristian Höltje2016-01-111-3/+4
| | | | | | | | Closes #98
* | bumping 2.2.7 for relase2.2.7Lamont Granquist2016-08-221-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | add logging message if attempting to kill critical processsmurawski/agressive_terminationSteven Murawski2016-06-061-1/+9
| |
* | Keep `kill_process_tree` from killing protected system processes.Steven Murawski2016-05-241-13/+25
| |
* | opscode -> ChefTim Smith2016-02-174-13/+13
| |
* | release 2.2.6Matt Wrock2016-02-031-1/+1
| |
* | change CreateProcessAsUserW to use a int instead of boolMatt Wrock2016-02-021-1/+1
|/
* release 2.2.52.2.5Thom May2015-12-021-1/+1
|
* bump to 2.2.4Thom May2015-12-021-1/+1
|
* 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'}
* bumping to 2.2.32.2.3domain_userMatt Wrock2015-10-221-1/+1
|
* add a comment for the recursive functionMatt Wrock2015-10-221-0/+4
|
* improve the test to more accurately detrermine if child process is killedMatt Wrock2015-10-201-3/+7
|
* removing specialized logger and cleaning loggingMatt Wrock2015-10-201-12/+14
|
* merging latest masterMatt Wrock2015-10-192-251/+244
|\
| * Bump to 2.2.22.2.2Kartik Null Cating-Subramanian2015-10-191-1/+1
| |
| * Clean up the monkey-patchingksubrama/win32-processKartik Null Cating-Subramanian2015-10-151-246/+239
| |
| * Pull in upstream changes into monkey-patchKartik Null Cating-Subramanian2015-10-151-14/+14
| |
* | pinning this btranch to v2.0.1Matt Wrock2015-09-291-1/+1
| |
* | log to our own fileMatt Wrock2015-09-281-7/+24
| |
* | add logging for each child process killedMatt Wrock2015-09-241-0/+1
| |
* | kill all windows child processes when the command times outMatt Wrock2015-09-241-0/+15
|/
* release 2.2.1Matt Wrock2015-09-111-1/+1
|
* prevent shellout from attempting to execute a directory on windowsMatt Wrock2015-09-111-2/+6
|
* Bump version to 2.2.0jdm/2.2.0Jay Mundrawala2015-09-011-1/+1
|
* Bump version to 2.2.0.rc.0Jay Mundrawala2015-08-311-1/+1
|
* Remove dependency on windows-prjdm/no-windows-prJay Mundrawala2015-08-262-8/+9
| | | | | windows-pr includes everything under the sun. This is means it does not work no nanoserver
* bump version to 2.1.02.1.0Lamont Granquist2015-05-181-1/+1
|
* Merge pull request #94 from chef/lcg/no-getpgrpLamont Granquist2015-05-151-25/+8
|\ | | | | remove getpgrp back to setsid
| * remove getpgrp back to setsidlcg/no-getpgrpLamont Granquist2015-05-151-25/+8
| |
* | Fix 2 ruby warnings for uninitialized variablesdanielsdeleo2015-05-152-0/+2
|/
* Merge pull request #78 from BackSlasher/add-loginLamont Granquist2015-05-142-4/+67
|\ | | | | with_logon now simulates login in unix
| * Added TODO for next majorNitz2015-02-151-0/+3
| |
| * Option "login" now simulates login in unixNitz2015-02-152-4/+64
| | | | | | | | | | | | | | | | | | 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
* | Bumped version to 2.0.1Jay Mundrawala2014-12-191-1/+1
| |
* | On windows, send sigkill to process if it exceeds its alloted timeJay Mundrawala2014-12-181-0/+6
| | | | | | | | | | | | | | | | | | Timeouts did not work correctly on windows because we do not kill or abandon the process. What was happening was a timeout condition was getting correctly detected, and an exception was being raised. However, before the exception could propogate, whatever the process was writing was fully read until it closed its FD.
* | Fix live_stream for windowsJay Mundrawala2014-12-171-1/+1
|/ | | | | The windows module was looking to write stdout to live_stream instead of live_stdout.
* Document input and live stream options to `new`danielsdeleo2014-11-241-0/+11
|
* Block until child stream is emptyryan/issue_2062_12Ryan Cragun2014-10-311-1/+1
|
* Remove child process pipe from open pipes when the stream is closedRyan Cragun2014-10-311-0/+1
|
* Rescue ArgumentError on Marshal.load of buffered child statusRyan Cragun2014-10-311-1/+1
|
* Add buffering to the process status pipeRyan Cragun2014-10-312-8/+17
|
* Bump version number after 2.0.0 branching.Serdar Sutay2014-10-271-1/+1
|
* Merge pull request #57 from ClogenyTechnologies/kd/processgrp-fixlamont-granquist2014-09-111-1/+4
|\ | | | | aix getpgid fails when called from parent and parent and child have different session