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, christian.heimes, dandel1984, jorend
Date 2009-05-25.17:11:50
SpamBayes Score 9.962123e-06
Marked as misclassified No
Message-id <1243271512.19.0.79562581272.issue1707753@psf.upfronthosting.co.za>
In-reply-to
Content
The 'commands' module is deprecated, and has been removed in Python 3.0:
http://docs.python.org/dev/library/commands.html

The recommended (and portable) method is to use subprocess:
    p = subprocess.Popen(command, stdout=PIPE, stderr=STDOUT, shell=True)
    output = p.communicate()[0]

I suggest closing this issue.
History
Date User Action Args
2009-05-25 17:11:52amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, jorend, christian.heimes, dandel1984
2009-05-25 17:11:52amaury.forgeotdarcsetmessageid: <1243271512.19.0.79562581272.issue1707753@psf.upfronthosting.co.za>
2009-05-25 17:11:51amaury.forgeotdarclinkissue1707753 messages
2009-05-25 17:11:50amaury.forgeotdarccreate