MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

Is it really possible that M$ don't know how to use pipes (StdIn, etc)? The proposed Code most probably creates Deadlocks :-( #1108

Open schittli opened 5 years ago

schittli commented 5 years ago

Link to article: Creating a Child Process with Redirected Input and Output

Problem: In this Article, M$$ provides a Code example which most likely creates deadlocks in real-world examples.

The good thing is, that this Article can still be used as a typical bad example :-[, as Raymond Chen (MSFT) explains the problems in his article: Be careful when redirecting both a process’s stdin and stdout to pipes, for you can easily deadlock

It's really a shame that M$$ no longer has professional employees which create professional Docs and rock solid Code Examples for the most basic and critical coding problems.

welcome[bot] commented 5 years ago

Thank you for creating the issue! One of our team members will get back to you shortly with additional information.