If the parent process creates an anonymous pipe after the child one started up…

The newly-created pipe handles won’t be inherited to the child process.To test it out, I created two console applications, PipeServer and PipeClient, using the following snippets

Test the code with VS 2017 + .NET Core 2.0; the result is as follows

Thus, if you want to set up any pipes AFTER the start-up of the children processes, you may consider the name pipes.

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Content is available under CC BY-SA 3.0 unless otherwise noted.