Joseph Martin wrote:
> I am writing a program for somebody. Basically what I have written
> is a front end to a shell script. The user enters data, clicks Ok, the
> shell script is run and then a file produced by the shell script is
> displayed. However the script takes about 25 seconds to run. What I'd like
> to do is display a status bar while the script is running. What C command
> do I use to run the script in the background and still be able to do
> screen writes, etc. Email if I am not making sense. Thanks for the help.
You can use system("/path/to/script &"). You will get a SIGCHLD when
the script terminates.
--
Glynn Clements <[EMAIL PROTECTED]>