【发布时间】:2017-06-28 20:52:16
【问题描述】:
例如could not open input file:
但它可以在 mobaxterm 之外的其他终端上运行
Git 重击:
命令:
我在设置中切换了 Windows PATH 设置。终端可以正常连接到远程服务器。
Windows 10 x64
【问题讨论】:
标签: windows bash shell command-line command-line-interface
例如could not open input file:
但它可以在 mobaxterm 之外的其他终端上运行
Git 重击:
命令:
我在设置中切换了 Windows PATH 设置。终端可以正常连接到远程服务器。
Windows 10 x64
【问题讨论】:
标签: windows bash shell command-line command-line-interface
问题出在 PATH 上。
在 MobaX 中试试这个
php -f "C:\ProgramData\ComposerSetup\bin\composer.phar"
你会看到它有效。
你需要一个
MobaX 是基于 Cygwin 构建的,Cygwin 基于 WIN 路径存在相同的问题,这些问题很容易通过 bash 包装脚本修复,以便为所有命令 (2) 提供全局解决方案,或者您可以只为作曲家选择选项 (1)。
【讨论】: