Piping output under .NET
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?
Problem solved. For people searching the boards in the future, controlling external programs is done through the System.Diagnostics.Process class.