dinedal / textql

Execute SQL against structured text like CSV or TSV
MIT License
9.06k stars 300 forks source link

[GOOS=windows GOARCH=386 CGO_ENABLED=1] Linux host #64

Closed saz59 closed 7 years ago

saz59 commented 7 years ago

Start on Windows - GetFileInformationByHandle /dev/stdin: The handle is invalid.

dinedal commented 7 years ago

To confirm, you're building on linux, running on windows?

saz59 commented 7 years ago

Yes. You are right.

dinedal commented 7 years ago

Sorry, gonna be pretty hard to re-produce w/o a windows machine to run on.

Can you post any additional logs, trace, or is that the only message you get?

itsnotvalid commented 7 years ago

Hello, I use mingw-x64 to build on windows and it fails with the same error. It only partially work when used with the bash shell accompanied by wingw-x64 (MSYS2). Could this be related to https://github.com/golang/go/issues/14853 ?

env;

go version go1.7.4 windows/amd64
gcc.exe (Rev1, Built by MSYS2 project) 6.1.0