From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f4e8c6faa68f2ed1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 14 Feb 2008 05:06:31 -0600 From: David Shochat Subject: Re: Start_Process_Search error detection Newsgroups: comp.lang.ada References: User-Agent: Pan/0.132 (Waxed in Black) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: Date: Thu, 14 Feb 2008 05:06:31 -0600 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-X5J2ZGkG/XDbbb0MoXnqakXAsCLX5wwv5L4QQJLZ5AlRxZtrZQ/MvQ9iqhF+ABBIu/P8LppMrMMDG+u!zo4WOclnFAT4ZuiGien83++kUN8Dhnq0PNHS3FbQ5gKN/JSu1PAEKZoHRNZ+jx4LMhWJgsmBHw== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37 Xref: g2news1.google.com comp.lang.ada:19791 Date: 2008-02-14T05:06:31-06:00 List-Id: 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.