in reply to exec with cleanup
A better way to do this would be to use the backtick operator, which returns the return code for the process when it returns or use the system call. That way you know when it ends and then can do some clean up before or after it. I hope this helps.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: exec with cleanup
by bart (Canon) on Jun 07, 2004 at 13:47 UTC | |
by Anonymous Monk on Jun 07, 2004 at 14:16 UTC | |
Re^2: exec with cleanup
by halley (Prior) on Jun 07, 2004 at 15:12 UTC |