Find deprecated os.popen() usage

Proprietary

os.popen() has been deprecated since Python 3.6. Use subprocess.run() or subprocess.Popen() instead for better control over process creation and output handling.

org.openrewrite.python.migrate.FindOsPopen
mod run . --recipe=org.openrewrite.python.migrate.FindOsPopen

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.