Issue #6392 has been updated by R.I. Pienaar.

Status changed from Accepted to Closed

Added MC::RPC::Agent#run thats a convenient wrapper around MC::Shell and systemu


62c1966 (5 files in 5 dirs): http://bit.ly/fO6ghX
----------------------------------------
Feature #6392: Create an exec helper
https://projects.puppetlabs.com/issues/6392

Author: R.I. Pienaar
Status: Closed
Priority: Normal
Assignee: R.I. Pienaar
Category: Core
Target version: 1.1.3
Keywords: 
Branch: ripienaar/marionette-collective/6392_exec_wrapper
Affected mCollective version: 


Today most agent writes simply use system, backticks or %x{...} whenever they 
want to call out to external tools.

It's not overly robust, prone to leaving zombies around when we kill off their 
threads, locale issues and many other painful things like it being very hard to 
get your hands on STDERR.

We should add a utility class that uses something like open4, popen4 or systemu 
to make this more robust.

This is also a needed precursor to doing backgrounded job, agents in different 
languages and a whole heap of planned things.


-- 
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