comp.lang.ada
 help / color / mirror / Atom feed
From: daniel.wengelin@home.se
Subject: Re: GNAT on WinXP: System.OS_Lib.Spawn raises Program_Error
Date: Sat, 2 May 2009 13:31:04 -0700 (PDT)
Date: 2009-05-02T13:31:04-07:00	[thread overview]
Message-ID: <1e58665e-4d06-4014-8ee0-08c23574b3b3@n4g2000vba.googlegroups.com> (raw)
In-Reply-To: oOPKl.186217$4m1.38411@bgtnsc05-news.ops.worldnet.att.net

On 2 Maj, 06:16, a...@anon.org (anon) wrote:
> First, in GNAT GPL 2008, GNAT.OS_LIB renames System.OS_LIB, so using
> GNAT.OS_LIB would be a waste of time.
> Note: Spawn and Ada task can have problems. Should be avoided. Also,
>       in some case "spawn" is disabled.
>
> Second, it would be helpful to give some code.
>
> In the mean time, using the simple routine version it sounds like its your
> "Args" parameter in the call is not setup properly. Also you might try using
> the full path with the program name.
>
> In <50d832b4-140d-4029-8d7c-939711516...@u8g2000yqn.googlegroups.com>, daniel.wenge...@home.se writes:
>
> >Though not an Ada issue, really, someone here might have had the same
> >problem as I have had: I tried to make a small program start another
> >program using System.OS_Lib.Spawn. However, it raised Program_Error
> >and stated Exception_Access_Violation.
>
> >Any ideas why, and what to do about it?
>
> >/D
>
>

Thanks, fixing the Args sorted the problem out. I need to practice
more on the unconstrained string access array types 8-/
/D



  parent reply	other threads:[~2009-05-02 20:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01 21:39 GNAT on WinXP: System.OS_Lib.Spawn raises Program_Error daniel.wengelin
2009-05-01 21:58 ` Jeffrey R. Carter
2009-05-02  4:16 ` anon
2009-05-02 15:59   ` Martin
2009-05-02 20:39     ` anon
2009-05-02 22:01       ` Ed Falis
2009-05-02 23:20         ` anon
2009-05-03 13:24           ` Ed Falis
2009-05-04  0:22             ` anon
2009-05-04  1:21               ` Ed Falis
2009-05-03 10:33         ` sjw
2009-05-03 13:27           ` Ed Falis
2009-05-04 13:32           ` Robert A Duff
2009-05-03  9:42       ` Martin
2009-05-05  0:04       ` Randy Brukardt
2009-05-05  2:43         ` anon
2009-05-05  8:06           ` Martin
2009-05-05 23:40             ` Randy Brukardt
2009-05-02 20:31   ` daniel.wengelin [this message]
2009-05-03  2:22     ` Hang
2009-05-02  6:28 ` Example of Spawn call anon
2009-05-02 15:50   ` Hang
2009-05-02 18:28     ` anon
2009-05-02 19:38     ` sjw
2009-05-02 19:47       ` sjw
2009-05-02 20:59         ` anon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox