I am currently writing my own web server in C++, and it's all been going swimmingly so far. It can take requests and send out files based on the MIME types (I think).
The next thing I want to do is get it to be able to run scripts in langauges like PHP, Perl and python etc. What I need to be able to do is call an executable, with the filename it needs to run.
I figure I can just do this with a function like shellexecute, but I dont want it to show on up on my screen. I need a function like shell execute but that will start whatever program i call and NOT show its output, but will store it in a string or pipe it directly to my program....
Any ideas would be most helpful Thanks!