From: David Shochat <shochatd@yahoo.com>
Subject: Re: Start_Process_Search error detection
Date: Thu, 14 Feb 2008 05:06:31 -0600
Date: 2008-02-14T05:06:31-06:00 [thread overview]
Message-ID: <Ro6dnQwZ4-4qvSnanZ2dnUVZ_s_inZ2d@giganews.com> (raw)
In-Reply-To: yge3arw54gi.fsf@hugsarin.dmusyd.edu
On Thu, 14 Feb 2008 09:26:21 +0100, Jacob Sparre Andersen wrote:
> I haven't got any documentation either, but the Florist implementation
> of POSIX.Process_Primitives.Start_Process_Search will give you a
> negative value in the formal parameter Child, if the creation of a new
> process failed. If the creation didn't fail, you can use
> POSIX.Process_Primitives.Wait_For_Chilt_Process to see if the child
> process exited with the status Failed_Creation_Exit.
>
I'm getting a positive pid so I guess the process creation is succeeding.
But if I call Wait_For_Child_Process, in the successful case, won't that
cause me to block? I don't want to wait until the process is done.
next prev parent reply other threads:[~2008-02-14 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 1:53 Start_Process_Search error detection David Shochat
2008-02-14 8:26 ` Jacob Sparre Andersen
2008-02-14 11:06 ` David Shochat [this message]
2008-02-14 15:34 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox