Piping output under .NET

This is a discussion on Piping output under .NET within the C# Programming forums, part of the General Programming Boards category; I'm now adding CGI support to my server, and I need the ability to send some HTTP headers to the ...

  1. #1
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    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
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    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, 02:08 PM
  2. execl()/fork() output
    By tadams in forum C Programming
    Replies: 19
    Last Post: 02-04-2009, 02:29 PM
  3. Replies: 4
    Last Post: 11-30-2005, 03: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, 04:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21