3 ms·
Since python3.6 it's just subprocess.run(). The SP module was refactored. I hope that eliminates the need for all these annoying (IMHO) wrappers.
by Rotareti 9y ago
Since python3.6 it's just subprocess.run(). The SP module was refactored. I hope that eliminates the need for all these annoying (IMHO) wrappers.
- arghwhat 9y agoAh, that's nice! ... unfortunately, I'm stuck with python2.4 or 2.6 on most machines my Python code has to run on. :/
- Sean1708 9y ago> I'm stuck with python2.4 or 2.6 Not even 2.7?! 2.6 hasn't had a security update since 2013[0], I dread to think how old 2.4 is. [0]: https://www.python.org/download/releases/2.6.9/ https://www.python.org/download/releases/2.6.9/
- arghwhat 9y agoPython2.4 is what RHEL/CentOS 5 has to work with... And the extended support for that bloody release lasts till 2021. You can install a newer version, but our CentOS 5 machines are meant for compatibility tests, so modifying their setup is unacceptable.
- dsnuh 9y agoHave you tried using the scl repos from RedHat/CentOS? I use it at work yo enable different versions of Python at a system level if I am unable to muck with it because of yum. I believe they are available for CentOS 5.x?