Submitting shell script in background.
Posted on 2004-04-02
I have an application that requires to execute a shell script in the background.
For example, the user will select print report, which is a seperate process and is run from a K Shell script. I need a way of running that shell script in the background, without the screen waiting for the process to complete. i.e. fire and forget. The calling screen will supply the full path of the shell script.
Is there a simple way of acheiving this in C on HP-UX and on Windows?