I'm now adding CGI support to my server, and I need the ability to send some HTTP headers to the scripting language executable, and pipe the output back to the socket that is bound to the requesting browser. How does one pipe output under .NET? I did a quick search on MSDN and found a series of articles on connecting a stream to the source, but since it is so easily done under most command prompts, I thought there might be an easier way. Is there? Or should I just go ahead with the streams?