[wellylug] Programming Question

Andrej Ricnik andrej at paradise.net.nz
Thu Nov 27 08:52:40 NZDT 2003


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()

man system
man exec

for details ;)

>  thanks,
>  -- Jethro
Cheers,
Tink




More information about the wellylug mailing list