Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: 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 ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6107> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com