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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0aafc307523972a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-21 08:35:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!btnet-peer!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "tony gair" Newsgroups: comp.lang.ada Subject: Re: ada making linux script calls Date: Thu, 21 Feb 2002 16:34:29 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host217-34-84-249.in-addr.btopenworld.com X-Trace: helle.btinternet.com 1014309269 8442 217.34.84.249 (21 Feb 2002 16:34:29 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 21 Feb 2002 16:34:29 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Xref: archiver1.google.com comp.lang.ada:20217 Date: 2002-02-21T16:34:29+00:00 List-Id: thanks sk you're a star "sk" wrote in message news:mailman.1014307322.31145.comp.lang.ada@ada.eu.org... > Hi, > > with Gnat.Os_Lib; > > ... > > Success : Boolean; > > .... > > OS_Lib.Spawn ( > Program_Name => "/bin/bash", -- On a DOS try "c:\command" > Argument_List => new Gnat.Os_Lib.Argument_List'( > 1=> "myscript.sh" > ), > Success => Success > ); > > > ------------------------------------- > -- Merge vertically for real address > ------------------------------------- > s n p @ t . o > k i e k c c m > -------------------------------------