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,eafe4705a6e47b9b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-28 21:55:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: newbie: start other programs Date: Fri, 28 Dec 2001 23:48:32 -0600 Organization: dis- Message-ID: References: <20011228193934.361cf479.alessandro-gagliano@libero.it> NNTP-Posting-Host: dial-76-8.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1009604970 8357 128.83.254.120 (29 Dec 2001 05:49:30 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Sat, 29 Dec 2001 05:49:30 +0000 (UTC) User-Agent: Pan/0.11.1 (Unix) X-Comment-To: "alessandro gagliano" X-No-Productlinks: Yes Xref: archiver1.google.com comp.lang.ada:18371 Date: 2001-12-28T23:48:32-06:00 List-Id: On Fri, 28 Dec 2001 12:36:52 -0600, alessandro gagliano wrote: > hello, > ' am a newbie, > I looking for a function that it allows me to start other programs, > like "tar" or "ls" > (i work on linux) > suggestions? > thanks. I use GNAT.OS_Lib.Non_Blocking_Spawn for various things. That may not be exactly what you want, but look at GNAT.OS_Lib to see what's available. (You may want the blocking spawn.) I assume you're using GNAT, of course. Use the "locate" shell command to find g-os_lib.ads, and then read the section of it on sub-processes. Good luck, Bobby Bryant Austin, Texas