]> Cypherpunks repositories - gostls13.git/commit
os/exec: ignore some pipe write errors on windows
authorAlex Brainman <alex.brainman@gmail.com>
Mon, 22 May 2017 07:17:39 +0000 (17:17 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 23 May 2017 04:27:01 +0000 (04:27 +0000)
commitf3f29d1dea525f48995c1693c609f5e67c046893
tree353048a19ca6b3ba8277c4b823ec85871b6b3555
parent5f4f7519b6c038ab6771e6c7111bcd29967f2750
os/exec: ignore some pipe write errors on windows

This change is windows version of CL 12152.
It also extends test to cover scenarios reported on issue #20445.
Some source files copied and renamed to make code clearer.

Fixes #20445

Change-Id: Idd2f636f27c6bd5cfe98017ba2df911358263382
Reviewed-on: https://go-review.googlesource.com/43910
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec/exec_test.go
src/os/exec/exec_unix.go [moved from src/os/exec/exec_posix.go with 95% similarity]
src/os/exec/exec_windows.go [new file with mode: 0644]