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 amaury.forgeotdarc, p.fedin
Date 2012-06-15.08:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339749528.26.0.667771884439.issue15073@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation http://docs.python.org/library/commands.html
prominently says "Platforms: Unix".  This module does not work on Windows.
You should really use the subprocess module:
>>> import subprocess
>>> output = subprocess.check_output("dir", shell=True)
History
Date User Action Args
2012-06-15 08:38:48amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, p.fedin
2012-06-15 08:38:48amaury.forgeotdarcsetmessageid: <1339749528.26.0.667771884439.issue15073@psf.upfronthosting.co.za>
2012-06-15 08:38:47amaury.forgeotdarclinkissue15073 messages
2012-06-15 08:38:47amaury.forgeotdarccreate