Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ERROR_BROKEN_PIPE (0.18 sec)

  1. src/os/exec/exec_windows.go

    func skipStdinCopyError(err error) bool {
    	// Ignore ERROR_BROKEN_PIPE and ERROR_NO_DATA errors copying
    	// to stdin if the program completed successfully otherwise.
    	// See Issue 20445.
    	const _ERROR_NO_DATA = syscall.Errno(0xe8)
    	pe, ok := err.(*fs.PathError)
    	return ok &&
    		pe.Op == "write" && pe.Path == "|1" &&
    		(pe.Err == syscall.ERROR_BROKEN_PIPE || pe.Err == _ERROR_NO_DATA)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 13:47:05 UTC 2022
    - 721 bytes
    - Viewed (0)
Back to top