mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Go 1.16 didn't create inheritable pipes yet, because we didn't have safe process inheritance semantics worked out then. So, for this test, explicitly mark the pipe as inheritable, in case this is running on Go 1.16. Fixes golang/go#50160. Change-Id: I2e59cf430ff35e7f59315b11b73e79b9aaf3e6ce Reviewed-on: https://go-review.googlesource.com/c/sys/+/371694 Trust: Jason Donenfeld <Jason@zx2c4.com> Run-TryBot: Jason Donenfeld <Jason@zx2c4.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>