【发布时间】:2017-06-14 20:49:46
【问题描述】:
我正在尝试在 Windows 的 git bash 中运行以下命令。
$ python Prog.py
我收到以下错误:“输入不是 tty”
注意:该命令使用 MinGW 的 bash.exe 可以正常工作。
在 git bash 上运行上述命令以获得胜利的任何方式
编辑:bash.exe 不是 git.exe!
【问题讨论】:
我正在尝试在 Windows 的 git bash 中运行以下命令。
$ python Prog.py
我收到以下错误:“输入不是 tty”
注意:该命令使用 MinGW 的 bash.exe 可以正常工作。
在 git bash 上运行上述命令以获得胜利的任何方式
编辑:bash.exe 不是 git.exe!
【问题讨论】:
用途:
python.exe Prog.py < my_input.in > my_output.out
注意python。exe
【讨论】: