[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

calling external programs



Hi All,
This might be a silly question but since I don't know it I guess I'll ask.

I looking for a method to execute a command from within a C program and wait for it to terminate.
The exec methods, from what I've read doesn't wait for program termination.
One of the commands I'm trying to use is tar and there is no tar system calls as far as I know, and would like to wait for its termination.
Could someone share how is this done?

Much thanks,
--Jr.



Reply to: