+invirt-base (0.0.35) unstable; urgency=low
+
+ * Patch from Austin Chu <eefi@mit.edu> to handle remctl results that are
+ larger than a single pipe buffer.
+
+ -- Quentin Smith <quentin@mit.edu> Sat, 19 Mar 2011 17:23:51 -0400
+
invirt-base (0.0.34) unstable; urgency=low
* Depend on pkg_resources
+ list(args),
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
- v = p.wait()
+ stdout, stderr = p.communicate()
if kws.get('err'):
- return p.stdout.read(), p.stderr.read()
- if v:
- print >> sys.stderr, 'Error', v, 'on remctl', args, ':'
- print >> sys.stderr, p.stderr.read()
+ return stdout, stderr
+ if p.returncode:
+ print >> sys.stderr, 'Error', p.returncode, 'on remctl', args, ':'
+ print >> sys.stderr, stderr
raise CodeError('ERROR on remctl')
- return p.stdout.read()
+ return stdout