- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for skipStdinCopyError (0.61 sec)
-
src/os/exec/exec_unix.go
// license that can be found in the LICENSE file. //go:build !plan9 && !windows package exec import ( "io/fs" "syscall" ) // skipStdinCopyError optionally specifies a function which reports // whether the provided stdin copy error should be ignored. func skipStdinCopyError(err error) bool { // Ignore EPIPE errors copying to stdin if the program // completed successfully otherwise. // See Issue 9173.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 13:47:05 UTC 2022 - 635 bytes - Viewed (0) -
src/os/exec/exec_windows.go
// license that can be found in the LICENSE file. package exec import ( "io/fs" "syscall" ) // skipStdinCopyError optionally specifies a function which reports // whether the provided stdin copy error should be ignored. func skipStdinCopyError(err error) bool { // Ignore ERROR_BROKEN_PIPE and ERROR_NO_DATA errors copying // to stdin if the program completed successfully otherwise.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 13:47:05 UTC 2022 - 721 bytes - Viewed (0) -
src/os/exec/exec_plan9.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package exec import "io/fs" // skipStdinCopyError optionally specifies a function which reports // whether the provided stdin copy error should be ignored. func skipStdinCopyError(err error) bool { // Ignore hungup errors copying to stdin if the program // completed successfully otherwise. // See Issue 35753.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 26 13:47:05 UTC 2022 - 608 bytes - Viewed (0) -
src/os/exec/exec.go
return nil, err } c.childIOFiles = append(c.childIOFiles, pr) c.parentIOPipes = append(c.parentIOPipes, pw) c.goroutine = append(c.goroutine, func() error { _, err := io.Copy(pw, c.Stdin) if skipStdinCopyError(err) { err = nil } if err1 := pw.Close(); err == nil { err = err1 } return err }) return pr, nil } func (c *Cmd) childStdout() (*os.File, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0)