On Wed, Jul 20, 2005 at 03:10:49PM -0700, [EMAIL PROTECTED] wrote:
> Hey,
> 
> Has anyone ever had commands.getstatusoutput's buffer fill up when
> executing a verbose command? [...]

How much output are you talking about?  I tried outputs as large as
about 260 megabytes without any problem. (RedHat 9, Python 2.2)

>>> len(commands.getoutput("dd if=/dev/zero bs=512 count=512000 2>/dev/null"))
262144000
>>> 512 * 512000
262144000

Jeff

Attachment: pgpwMseDka1nF.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to