- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for quitSignal (0.25 sec)
-
src/cmd/go/stop_other_test.go
// license that can be found in the LICENSE file. //go:build !(unix || (js && wasm)) package main_test import ( "os" "runtime" ) // quitSignal returns the appropriate signal to use to request that a process // quit execution. func quitSignal() os.Signal { if runtime.GOOS == "windows" { // Per https://golang.org/pkg/os/#Signal, “Interrupt is not implemented on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 628 bytes - Viewed (0) -
src/cmd/go/stop_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 297 bytes - Viewed (0) -
src/os/exec/exec_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 03:34:36 UTC 2022 - 313 bytes - Viewed (0) -
src/os/exec/exec_other_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !unix && !windows package exec_test import "os" var ( quitSignal os.Signal = nil pipeSignal os.Signal = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 03:34:36 UTC 2022 - 286 bytes - Viewed (0) -
src/os/exec/exec_windows_test.go
//go:build windows package exec_test import ( "fmt" "internal/testenv" "io" "os" "os/exec" "strconv" "strings" "syscall" "testing" ) var ( quitSignal os.Signal = nil pipeSignal os.Signal = syscall.SIGPIPE ) func init() { registerHelperCommand("pipehandle", cmdPipeHandle) } func cmdPipeHandle(args ...string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 23:07:55 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/go/script_test.go
t.Cleanup(cancel) } env, err := scriptEnv(srv, certFile) if err != nil { t.Fatal(err) } engine := &script.Engine{ Conds: scriptConditions(), Cmds: scriptCommands(quitSignal(), gracePeriod), Quiet: !testing.Verbose(), } t.Run("README", func(t *testing.T) { checkScriptReadme(t, engine, env) }) files, err := filepath.Glob("testdata/script/*.txt") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/os/exec/exec_test.go
t.Run("SIGQUIT", func(t *testing.T) { if quitSignal == nil { t.Skipf("skipping: SIGQUIT is not supported on %v", runtime.GOOS) } t.Parallel() ctx, cancel := context.WithCancel(context.Background()) cmd := startHang(t, ctx, tooLong, quitSignal, 0) cancel() err := cmd.Wait() t.Logf("stderr:\n%s", cmd.Stderr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0)