Deprecated `os.popen` to `subprocess.Popen`