On Fri, Jan 12, 2007 at 11:53:34AM -0800, Bryan Irvine wrote:
> isn't that the recomended method in C too?  I have no authority in
> this but my ancient C CGI book does it that way too IIRC.

Maybe for when you're using a fixed string, but when you want to pass
user input as an argument to a command, using exec*() prevents
problems from users including shell escape characters that can cause
problems with popen().

Reply via email to