Changed spawnle to more safe subprocess.Popen