4death4 parent
Ok, so it sounds like Powershell would have the exact same issue as the Linux pipes. The issue has nothing to do with determinism with the pipeline construction and everything to do with the fact that part of the pipeline writes to stderr, which you could call stream 2.
The fact that echo green writes to stderr mainly just means that you can see the non-determinism happening, because if it wrote to stdout its output would be invisible.
The big part that's not deterministic is whether echo red succeeds or dies, along with which order the programs exit in. That would be nondeterministic even if you just ran "echo red | echo blue". But in that case you would always see "blue" so it would be hard to tell.
In powershell, it would be deterministic. It sounds like echo red would always succeed.
You mean https://www.gibney.org/the_output_of_linux_pipes_can_be_inde... ?
Absolutely not, that would never happen in Powershell. I just explained how it works...?