- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for execerrdot (0.15 sec)
-
src/os/exec/lp_windows.go
dotf string dotErr error ) if _, found := syscall.Getenv("NoDefaultCurrentDirectoryInExePath"); !found { if f, err := findExecutable(filepath.Join(".", file), exts); err == nil { if execerrdot.Value() == "0" { execerrdot.IncNonDefault() return f, nil } dotf, dotErr = f, &Error{file, ErrDot} } } path := os.Getenv("path") for _, dir := range filepath.SplitList(path) { if dir == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
src/os/exec/lp_plan9.go
for _, dir := range filepath.SplitList(path) { path := filepath.Join(dir, file) if err := findExecutable(path); err == nil { if !filepath.IsAbs(path) { if execerrdot.Value() != "0" { return path, &Error{file, ErrDot} } execerrdot.IncNonDefault() } return path, nil } } return "", &Error{file, ErrNotFound} } // lookExtensions is a no-op on non-Windows platforms, since
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 1.9K bytes - Viewed (0) -
src/os/exec/lp_unix.go
dir = "." } path := filepath.Join(dir, file) if err := findExecutable(path); err == nil { if !filepath.IsAbs(path) { if execerrdot.Value() != "0" { return path, &Error{file, ErrDot} } execerrdot.IncNonDefault() } return path, nil } } return "", &Error{file, ErrNotFound} } // lookExtensions is a no-op on non-Windows platforms, since
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.4K bytes - Viewed (0) -
src/internal/godebugs/table.go
// (Otherwise the test in this package will fail.) var All = []Info{ {Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1", Opaque: true}, {Name: "execerrdot", Package: "os/exec"}, {Name: "gocachehash", Package: "cmd/go"}, {Name: "gocachetest", Package: "cmd/go"}, {Name: "gocacheverify", Package: "cmd/go"}, {Name: "gotypesalias", Package: "go/types", Changed: 23, Old: "0"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 3.6K bytes - Viewed (0) -
src/os/exec/exec.go
// command completed, or no WaitDelay was set, or the WaitDelay already // expired and its effect was already applied.) timer *time.Timer } var execwait = godebug.New("#execwait") var execerrdot = godebug.New("execerrdot") // Command returns the [Cmd] struct to execute the named program with // the given arguments. // // It sets only the Path and Args in the returned structure. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0) -
doc/godebug.md
There is no plan to remove any of these settings. ### Go 1.19 Go 1.19 made it an error for path lookups to resolve to binaries in the current directory, controlled by the [`execerrdot` setting](/pkg/os/exec#hdr-Executables_in_the_current_directory). There is no plan to remove this setting. ### Go 1.18 Go 1.18 removed support for SHA1 in most X.509 certificates,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
src/runtime/metrics/doc.go
/gc/stack/starting-size:bytes The stack size of new goroutines. /godebug/non-default-behavior/execerrdot:events The number of non-default behaviors executed by the os/exec package due to a non-default GODEBUG=execerrdot=... setting. /godebug/non-default-behavior/gocachehash:events The number of non-default behaviors executed by the cmd/go package due to a non-default GODEBUG=gocachehash=... setting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 20K bytes - Viewed (0) -
src/text/template/exec.go
} // TODO: It would be nice if ExecError was more broken down, but // the way ErrorContext embeds the template name makes the // processing too clumsy. // ExecError is the custom error type returned when Execute has an // error evaluating its template. (If a write error occurs, the actual // error is returned; it will not be of type ExecError.) type ExecError struct { Name string // Name of template.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/html/template/exec_test.go
// First, a non-execution error shouldn't be an ExecError. tmpl, err := New("X").Parse("hello") if err != nil { t.Fatal(err) } err = tmpl.Execute(ErrorWriter(0), 0) if err == nil { t.Fatal("expected error; got none") } if err.Error() != alwaysErrorText { t.Errorf("expected %q error; got %q", alwaysErrorText, err) } // This one should be an ExecError. tmpl, err = New("X").Parse("hello, {{.X.Y}}")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/text/template/exec_test.go
// First, a non-execution error shouldn't be an ExecError. tmpl, err := New("X").Parse("hello") if err != nil { t.Fatal(err) } err = tmpl.Execute(ErrorWriter(0), 0) if err == nil { t.Fatal("expected error; got none") } if err.Error() != alwaysErrorText { t.Errorf("expected %q error; got %q", alwaysErrorText, err) } // This one should be an ExecError. tmpl, err = New("X").Parse("hello, {{.X.Y}}")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0)