Hi All,

I want to be able to restart a script under certain conditions, and I was
thinking of how I would do this using exec in ksh.

exec as I understand it is 'replace the current process with the specified
program', where in perl it seems to be 'run the specified program but dont
wait for it to finish or care what it does', i.e. it doesnt appear to
replace the currently running prog.

Am I close?

fork/exec seems to be a tad different in perl - though probably I'm just not
understanding.

Any help would be appreciated..

Cheers,

-M

Reply via email to