On Fri, Jan 12, 2007 at 11:53:34AM -0800, Bryan Irvine wrote: > >yeah because the guy who wrote the mail() function in php thought it > >would be > >easier to call popen() and save the command line parsing than parsing it > >then > >calling an exec*() function. > > isn't that the recomended method in C too?
No. popen() shouldn't even exist. No sane error handling, no sane control of execution and environment. Just don't use it. (Did I miss something?) Ciao, Kili