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-Thread: 103376,1c1739e9e6a4a7c5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.volia.net!news.newsland.it!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail From: poulerik User-Agent: Debian Thunderbird 1.0.7 (X11/20051019) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: binding to C: popen References: <43fb258f$0$170$edfadb0f@dread11.news.tele.dk> <8d6bb$43fc6be1$45491254$26806@KNOLOGY.NET> In-Reply-To: <8d6bb$43fc6be1$45491254$26806@KNOLOGY.NET> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8Y7Lf.2552$S%7.1993@news.get2net.dk> Date: Thu, 23 Feb 2006 02:10:28 +0100 NNTP-Posting-Host: 213.237.11.74 X-Complaints-To: abuse-dk@tele2.com X-Trace: news.get2net.dk 1140657028 213.237.11.74 (Thu, 23 Feb 2006 02:10:28 CET) NNTP-Posting-Date: Thu, 23 Feb 2006 02:10:28 CET Organization: Tele2 Internet Kunde Xref: g2news1.google.com comp.lang.ada:3085 Date: 2006-02-23T02:10:28+01:00 List-Id: Marc A. Criley wrote: > Poul-Erik Andreasen wrote: > >> Hi >> >> i am trying to make a biding to the C function popen, it goes like this: > > > If your goal is just to get a binding to pipes, and you're less > interested in writing it yourself, you could get Jim Roger's "pipes" > package at > http://www.adapower.com/index.php?Command=Class&ClassID=Bindings&CID=181 > > I've used this on a number of projects over the years, and it's been a > terrific utility. Thanks , it is allways nice to see how other poeple do stuff. To answer your question, i have never been witing a C binding before( i am awfully in C), i thought i was nice litle thing to start with, and as i have mentioned before my binding actually works fine. Jim Rogers package dos either catch any errors in the opening, and as i mention elsewhere it is rather useles to do so. Poul-Erik