Not sure its debatable: http://docs.python.org/2/library/commands.html

"Deprecated since version 2.6: The commands module has been removed in
Python 3. Use the subprocess module instead."

subprocess was meant to replace all the other various approaches to
spawning (os, commands, ...). Best to advocate migrating :-)



On Mon, Oct 7, 2013 at 10:22 AM, Ævar Guðmundsson <
[email protected]> wrote:

> Hehe, that's debateable, surely subprocess has vastly more functionalities
> and for advanced usage it's a crucial module, but most if the time all the
> person who is writing a quick script is after is commands.getoutput
>
>  Subprocess { for running things not only here but everywhere }
> http://docs.python.org/2/library/subprocess.html
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/6733BB55-354D-463C-8EB2-23C50B82269A%40gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3KBXarf3ExCMJmdTdzj3%3DvzFYq8%2B74CYZV1DvH8Cattw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to