replace os.spawnlp with subprocess.call