【发布时间】:2015-03-21 17:57:34
【问题描述】:
我正在尝试使用 Cygwin 的 Python 通过使用 Python 调用的 Powershell 运行 bat 脚本。该脚本是预制的(即不是我的)并且相当大,但由于它调用 python,而不是 python.exe 调用,它不能正确执行,因为正确的命令是 python27.exe。如何在 Powershell 中进行更改?
【问题讨论】:
标签: python powershell batch-file command cygwin