This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients ac.james, amaury.forgeotdarc, pjenvey
Date 2009-05-26.07:22:24
SpamBayes Score 0.0001998679
Marked as misclassified No
Message-id <1243322547.97.0.139881738324.issue6107@psf.upfronthosting.co.za>
In-reply-to
Content
The following works for me:

>>> import subprocess
>>> p=subprocess.Popen('findstr "disk" c:\\boot.ini',
stdout=subprocess.PIPE)
>>> print p.communicate()[0]
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect /NoExecute=OptOut

Tested with python2.5 on Windows XP, and python2.6 on Windows 2000
History
Date User Action Args
2009-05-26 07:22:28amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pjenvey, ac.james
2009-05-26 07:22:27amaury.forgeotdarcsetmessageid: <1243322547.97.0.139881738324.issue6107@psf.upfronthosting.co.za>
2009-05-26 07:22:26amaury.forgeotdarclinkissue6107 messages
2009-05-26 07:22:25amaury.forgeotdarccreate