What is the best and efficient way of redirecting streams from a parent process to child process. There are a number of ways i found out like boost.process, fork() and createprocess(). But what is the best way for windows?

Recommended Answers

boost::interprocess::message_queue is portable.

For redirecting standard streams on Windows, see:
http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx

Jump to Post

All 3 Replies

Is there any Video Tutorial or Course around about redirecting streams?

And Please vote up my question about redirecting streams if you think it is worth it. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.