Quote:> I'm new to C and UNIX :) How would I call another program from
>within a C program
>Thanks
If you are referring to calling another executable program, the usual ways
are to use the system call (simple) or one of the family of exec calls.
There are a number of these, you have to choose the one that fits best. An
exec replaces the calling program entirely, so it is usually used in
conjunction with a fork call, with the child process doing the actual
exec. For most applications, system works pretty well. Check the man pages
on the various calls.
Brian Rodenborn
McDonnell-Douglas Aerospace