calling external programs
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?
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!