https://bugs.winehq.org/show_bug.cgi?id=16957
huangqinjin huangqinjin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huangqinjin@gmail.com
--- Comment #10 from huangqinjin huangqinjin@gmail.com --- Created attachment 74440 --> https://bugs.winehq.org/attachment.cgi?id=74440 std handles are inherited even when bInheritHandles=FALSE
The issue still exists in wine-8.6. I attached a simple repro. On Windows, the output is 0, means that subprocess cannot access the handle created by parent. On wine, the output is 4, means that even bInheritHandles=FALSE, subprocess can still access the file through stdout and stderr, but it cannot access through the inherited handle value.