-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version devel go1.17-cca23a7373 Sat May 22 00:51:17 2021 +0000 windows/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env set GO111MODULE= set GOARCH=amd64 set GOBIN=D:\home\.go\bin set GOCACHE=C:\Users\insomnia\AppData\Local\go-build set GOENV=C:\Users\insomnia\AppData\Roaming\go\env set GOEXE=.exe set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GOMODCACHE=D:\home\.go\pkg\mod set GONOPROXY= set GONOSUMDB= set GOOS=windows set GOPATH=D:\home\.go set GOPRIVATE= set GOPROXY=https://proxy.golang.org,direct set GOROOT=C:\go set GOSUMDB=sum.golang.org set GOTMPDIR= set GOTOOLDIR=C:\go\pkg\tool\windows_amd64 set GOVCS= set GOVERSION=devel go1.17-cca23a7373 Sat May 22 00:51:17 2021 +0000 set GCCGO=gccgo set AR=ar set CC=gcc set CXX=g++ set CGO_ENABLED=1 set GOMOD=NUL set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\insomnia\AppData\Local\Temp\go-build4037608551=/tmp/go-build -gno-record-gcc-switches
What did you do?
What did you expect to see?
os.Process.Signal(os.Interrupt)
should work on windows.
What did you see instead?
In the documentation for os.Process.Signal()
, it says that sending os.Interrupt is not implemented on Windows.
It's not an insignificant bit of functionality, i think it should be implemented unless there's an obvious reason to not do so.
Currently this makes it difficult to manage exec.Cmd's properly on Windows.
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Windows