在windows上执行shell命令

在windows上执行shell命令,shell,cygwin,sh,Shell,Cygwin,Sh,大家好,最近我在windows上执行.sh文件时遇到了一个问题 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x40000, State 0x10000 C:\MinGW\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin'

大家好,最近我在windows上执行.sh文件时遇到了一个问题

0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x40000, State 0x10000
C:\MinGW\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
知道怎么回事吗,直到最近我才能够正常执行命令


提前感谢。

您是否有机会使用32位Cygwin版本(通过在shell中运行
uname-m
进行检查)?下载并安装64位(setup_64),然后切换到它。该命令仅在我从path env中删除C:\MinGW\msys\1.0\bin\sh.exe时有效,该命令为我提供64位错误,我没有注意路径。你在运行Cygwin的命令吗?如果是,为什么要混合环境?如果没有,为什么要贴标签?Cygwin有自己的外壳,MinGW也有。把它们分开。