On Thu, 25 Oct 2018 at 01:34, Calvin Spealman <[email protected]> wrote: > Simply put, there is no valid use case for os.system over subprocess by > remaining it must be considered redundant.
They do different things. The warnings against using os.system are based on "If you don't know whether or not you have the use case that this exists to handle it's much safer to assume that you don't", not "This has no valid use cases" (your use case just has to meet the criteria that makes os.system safe to use - no exposure to untrusted input. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
