From: sjw <simon.j.wright@mac.com>
Subject: Re: Example of Spawn call
Date: Sat, 2 May 2009 12:47:09 -0700 (PDT)
Date: 2009-05-02T12:47:09-07:00 [thread overview]
Message-ID: <faad1a66-54f0-44dd-bdeb-54f430cd5384@x6g2000vbg.googlegroups.com> (raw)
In-Reply-To: 6dbe1011-b398-4d50-8234-af740e9455b4@n8g2000vbb.googlegroups.com
On May 2, 8:38 pm, sjw <simon.j.wri...@mac.com> wrote:
> On May 2, 4:50 pm, Hang <xieh...@gmail.com> wrote:
>
> > I'm not seeing any problem:
>
> > C:\GNAT\Projects\test>test
> > 1 => First
> > 2 => -second
> > 3 => 3
> > Temp was Spawned Correctly
>
> Aside from having to change Program_Name to just "temp", this worked
> on Mac OS X (GCC 4.3.3). The behavior was subtly different:
>
> $ ./test
> 1 =>
> 2 => First
> 3 => -second
> 4 => 3
> Temp was Spawned Correctly
> $
Ah, it's the leading space in the arguments:
Args := Argument_String_To_List ( " First -second 3" ) ;
next prev parent reply other threads:[~2009-05-02 19:47 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
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 [this message]
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