Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go commands close the cmd window on Windows #22373

Closed
earneet opened this issue Oct 21, 2017 · 5 comments
Closed

cmd/go: go commands close the cmd window on Windows #22373

earneet opened this issue Oct 21, 2017 · 5 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows

Comments

@earneet
Copy link

earneet commented Oct 21, 2017

Please answer these questions before submitting your issue. Thanks!

What did you do?

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

just go build xxx.go or any go command but go help

What did you expect to see?

build, or any

What did you see instead?

cmd window disappear !!! with out any message, no log

System details

go version go1.9 windows/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=".exe"
GOHOSTARCH="amd64"
GOHOSTOS="windows"
GOOS="windows"
GOPATH="C:\Users\Administrator\go"
GORACE=""
GOROOT="C:\Go"
GOTOOLDIR="C:\Go\pkg\tool\windows_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build806374615=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOROOT/bin/go version: go version go1.9 windows/amd64
GOROOT/bin/go tool compile -V: compile version go1.9
gdb --version: GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1
@ALTree ALTree changed the title go command invalid cmd/go: go commands close the cmd window on Windows Oct 21, 2017
@ALTree ALTree added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows labels Oct 21, 2017
@ALTree
Copy link
Member

ALTree commented Oct 21, 2017

With had a similar report a few weeks ago (#22121) and apparently it was a git on Windows problem: #22121 (comment).

Can you update git and try again?

@earneet
Copy link
Author

earneet commented Oct 24, 2017 via email

@alexbrainman
Copy link
Member

@earneet 'go env' does not use Git, so 'go env' should work regardless what version of Git you have. Did you see my comment #22121 (comment) ? Does it help you?

Alex

@earneet
Copy link
Author

earneet commented Oct 24, 2017 via email

@alexbrainman
Copy link
Member

@earneet please close the issue, if there is nothing else to do here.

Thank you.

Alex

@earneet earneet closed this as completed Oct 25, 2017
@golang golang locked and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Projects
None yet
Development

No branches or pull requests

4 participants