In other words something like pipe in windows
Yes, using _popen.
The boilerplate code is in this MSDN Library article.