From 55eaae452cf69df768b2aaf6045db22d6c1a4029 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Thu, 21 Apr 2022 13:58:06 -0400 Subject: os/exec: add the Cancel and WaitDelay fields Fixes #50436. Change-Id: I9dff8caa317a04b7b2b605f810b8f12ef8ca485d Reviewed-on: https://go-review.googlesource.com/c/go/+/401835 TryBot-Result: Gopher Robot Run-TryBot: Bryan Mills Auto-Submit: Bryan Mills Reviewed-by: Ian Lance Taylor --- src/os/exec/exec_windows_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/os/exec/exec_windows_test.go') diff --git a/src/os/exec/exec_windows_test.go b/src/os/exec/exec_windows_test.go index 9dec72b3e1..b39790d61a 100644 --- a/src/os/exec/exec_windows_test.go +++ b/src/os/exec/exec_windows_test.go @@ -17,6 +17,11 @@ import ( "testing" ) +var ( + quitSignal os.Signal = nil + pipeSignal os.Signal = syscall.SIGPIPE +) + func init() { registerHelperCommand("pipehandle", cmdPipeHandle) } -- cgit v1.3