Thread: Piping output under .NET

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912

    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?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Problem solved. For people searching the boards in the future, controlling external programs is done through the System.Diagnostics.Process class.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help for my output array
    By qwertysingh in forum C Programming
    Replies: 1
    Last Post: 02-17-2009, 03:08 PM
  2. execl()/fork() output
    By tadams in forum C Programming
    Replies: 19
    Last Post: 02-04-2009, 03:29 PM
  3. Replies: 4
    Last Post: 11-30-2005, 04:44 PM
  4. Formatting output into even columns?
    By Uncle Rico in forum C Programming
    Replies: 2
    Last Post: 08-16-2005, 05:10 PM
  5. Output problems with structures
    By Gkitty in forum C Programming
    Replies: 1
    Last Post: 12-16-2002, 05:27 AM