[GRASS5] Re: [GRASSLIST:787] bash scripts don't wait for grass

Glynn Clements glynn at gclements.plus.com
Thu Apr 27 14:49:09 EDT 2006


Radim Blazek wrote:

> It seems that execlp() and _spawnlp ( _P_OVERLAY,..) realy does not
> wait for the end of the new process (the current process is not replaced?)

It replaces the calling process in the sense that the calling process
ceases to exist if the call is successful. I suspect what is happening
is that the caller's parent considers the process to have terminated
at that point.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list