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-22 09:31:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!hub1.nntpserver.com!hub1.meganetnews.com!newsfeed.sjc.globix.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!nnrp2.sbc.net.POSTED!not-for-mail Message-ID: <3C768081.4060501@qlippoth.zzn.com> From: file13 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada making linux script calls References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 22 Feb 2002 11:31:45 -0600 NNTP-Posting-Host: 208.188.29.213 X-Complaints-To: abuse@swbell.net X-Trace: nnrp2.sbc.net 1014399072 208.188.29.213 (Fri, 22 Feb 2002 11:31:12 CST) NNTP-Posting-Date: Fri, 22 Feb 2002 11:31:12 CST Organization: SBC Internet Services Xref: archiver1.google.com comp.lang.ada:20260 Date: 2002-02-22T11:31:45-06:00 List-Id: tony gair wrote: > 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 >>------------------------------------- >> > > he he, yup, fu http://sourceforge.net/projects/fu-scan/ makes extensive use of system calls. i wrote a small thin POSIX binding for it--which is in the source--because florist was so clunky and didn't compile on Slackware 8--the 3.14 versions does though..... http://www.qlippoth.com/ada.html http://www.qlippoth.com/os.tar.gz of course check out http://www.vaxxine.com/pegasoft/homes/book.html good luck! file13 http://www.qlippoth.com/