Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

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.

----------
nosy: +amaury.forgeotdarc
versions:  -Python 3.1

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1707753>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to