
A C program that calls unix shell scripts
A bit off topic, but you can download the C source for such a beast
from:
http://wwwcgi.umr.edu/~cgiwrap/
Quote:
> > ...
> > The solution I envisaged was to write a thin wrapper to each unix
script,
> > written in C and then set the SUID of the resulting executable.
> > My question is, how do I invoke unix shell scripts from within my C
program
> > ?
> See man-pages for system() fork() and exec()
> Regards Rainer