flightpath: Replaced deprecated os.popen() by subprocess.Popen()
analysis: Replaced deprecated os.popen() by subprocess.Popen()