Home > Back-end >  Anonymous pipe under Windows to realize communication between a parent and child process problems
Anonymous pipe under Windows to realize communication between a parent and child process problems

Time:05-06

My parent code is as follows:

The child to code the following

Results the following

When the parent to create the child should handle has inherited, the output stream in order to prevent the child not to the standard output stream, I also use the Error stream for communication, but, why don't the child process is the output of the most classic HelloWord?

CodePudding user response:

This call WinAPI, cross-platform, only on Windows can be used
  • Related