Re: calling external programs
ever tried system() ?
Am Samstag, 25. November 2006 02:29 schrieb Junior:
> 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,