Issue #12564 has been updated by Daniel Pittman.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 2.7.x to 2.7.12


----------------------------------------
Bug #12564: The execution helper method `execpipe` has a different API to 
`execute`
https://projects.puppetlabs.com/issues/12564#change-55276

Author: Daniel Pittman
Status: Merged - Pending Release
Priority: Normal
Assignee: Daniel Pittman
Category: Doh!
Target version: 2.7.12
Affected Puppet version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/452


Execute joins an array with spaces, before treating the string as a command to 
execute.  Unsafe, but at least not stupid.  `execpipe`, on the other hand, just 
pastes all the elements of the array together directly.  Which means the caller 
has to (a) know this, (b) embed whitespace some-but-not-all the time, and (c) 
wonder why.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to