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: a07f3367d7,d87fe6752812f07a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!x6g2000vbg.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Example of Spawn call Date: Sat, 2 May 2009 12:47:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <50d832b4-140d-4029-8d7c-9397115160ba@u8g2000yqn.googlegroups.com> <7cc6117d-689f-41ef-be05-882a7b5453a7@y34g2000prb.googlegroups.com> <6dbe1011-b398-4d50-8234-af740e9455b4@n8g2000vbb.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1241293633 1667 127.0.0.1 (2 May 2009 19:47:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 2 May 2009 19:47:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x6g2000vbg.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5658 Date: 2009-05-02T12:47:09-07:00 List-Id: On May 2, 8:38=A0pm, sjw wrote: > On May 2, 4:50=A0pm, Hang wrote: > > > I'm not seeing any problem: > > > C:\GNAT\Projects\test>test > > =A01 =A0=3D> First > > =A02 =A0=3D> -second > > =A03 =A0=3D> 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 > =A01 =A0=3D> > =A02 =A0=3D> First > =A03 =A0=3D> -second > =A04 =A0=3D> 3 > Temp was Spawned Correctly > $ Ah, it's the leading space in the arguments: Args :=3D Argument_String_To_List ( " First -second 3" ) ;