check status of a spawned process

i used Spawnl with mode P_NoWait to spawn a copy process…
how do u know when the spawned process is dead…

When waitpid returns, the process corresponding to the pid is really
most sincerely dead. Before the waitpid, it is merely dead.

ran zhang wrote:

i used Spawnl with mode P_NoWait to spawn a copy process…
how do u know when the spawned process is dead…

“Dean Douthat” <ddouthat@faac.com> wrote in message
news:3BC73393.26C70C2A@faac.com

When waitpid returns, the process corresponding to the pid is really
most sincerely dead. Before the waitpid, it is merely dead.

“Wizzard of Oz” right! I’ve always like that line from the medical
examiner.

“Bill Caroselli (Q-TPS)” wrote:

“Dean Douthat” <> ddouthat@faac.com> > wrote in message
news:> 3BC73393.26C70C2A@faac.com> …
When waitpid returns, the process corresponding to the pid is really
most sincerely dead. Before the waitpid, it is merely dead.

“Wizzard of Oz” right! I’ve always like that line from the medical
examiner.

Yes, the Munchkins. Programming offers nice examples for degrees of
deadness.