[wellylug] Programming Question
Jethro Carr
dodocaptain at paradise.net.nz
Thu Nov 27 16:39:53 NZDT 2003
On Thu, 2003-11-27 at 08:52, Andrej Ricnik wrote:
> On Thu, 27 Nov 2003 07:44, Jethro Carr wrote:
> > hi,
>
> > I need to make a program which can run another program on top
> > of it, so I can run another program, like cp to copy a file,
> > and then continue on with the program.
> In C you'd be using system() [don't use if the process
> you're about to call is setuid or setgid] or exec()
>
I want to be able to run programs like fdisk, gcc, or chmod.
Does that require system() or exec()?
thanks,
--
-- Jethro
doodocaptain at paradise.net.nz
http://homepages.paradise.net.nz/jethroc/
http://homepages.paradise.net.nz/jethroc/cv/index.html
More information about the wellylug
mailing list