use subprocess.Popen instead of os.system to start services