Expected Behaviour
I would expect us to do something with execErr here unless it can truly be ignored, but its not clear if it can be.
Current Behaviour
execErr is dropped on the floor if its not an exit error.
Possible Solution
Return it if ctx.Err() is nil?
Steps to Reproduce (for bugs)
N/A
Context
Just curious as to whether ignoring it is the correct thing to do.
Your Environment
-
go version : go version go1.21.3 darwin/arm64
-
Operating System and version (e.g. Linux, Windows, MacOS): MacOS Ventura 13.6
-
Link to your project or a code example to reproduce issue: N/A
Expected Behaviour
I would expect us to do something with
execErrhere unless it can truly be ignored, but its not clear if it can be.Current Behaviour
execErris dropped on the floor if its not an exit error.Possible Solution
Return it if
ctx.Err()is nil?Steps to Reproduce (for bugs)
N/A
Context
Just curious as to whether ignoring it is the correct thing to do.
Your Environment
go version: go version go1.21.3 darwin/arm64Operating System and version (e.g. Linux, Windows, MacOS): MacOS Ventura 13.6
Link to your project or a code example to reproduce issue: N/A