Thread: threads & cgi

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    103

    threads & cgi

    Can someone point me to a tutorial on how to execute a cgi file in a c program using threads and or using system(). thanks.

  2. #2
    Registered User
    Join Date
    Oct 2008
    Location
    TX
    Posts
    2,059
    man exec() details howto invoke any external script/program from a C program.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    103
    thanks. I've been reading on the exec() family. Every example I've seen implements exec() with forks() is it not possible to do with a thread?

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    103
    CGI is pretty old technology and has many replacements and its pretty (very) annoying to implement in C. Just sayin'. Consider a web framework if you can instead.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help: Multi-threading and Synchronization
    By Anom in forum C Programming
    Replies: 7
    Last Post: 12-08-2009, 05:34 PM
  2. Replies: 5
    Last Post: 10-17-2008, 11:28 AM
  3. CGI program help please
    By Lince in forum C Programming
    Replies: 3
    Last Post: 08-01-2007, 01:31 AM
  4. problem with win32 threads
    By pdmarshall in forum C++ Programming
    Replies: 6
    Last Post: 07-29-2004, 02:39 PM
  5. Block and wake up certain threads
    By Spark in forum C Programming
    Replies: 9
    Last Post: 06-01-2002, 03:39 AM