Message88320
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. |
|
Date |
User |
Action |
Args |
2009-05-25 17:11:52 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, jorend, christian.heimes, dandel1984 |
2009-05-25 17:11:52 | amaury.forgeotdarc | set | messageid: <1243271512.19.0.79562581272.issue1707753@psf.upfronthosting.co.za> |
2009-05-25 17:11:51 | amaury.forgeotdarc | link | issue1707753 messages |
2009-05-25 17:11:50 | amaury.forgeotdarc | create | |
|