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,1215ae14d6556de8,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!e11g2000yqe.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: More of less most standard Ada binding to POSIX Date: Sun, 24 Jan 2010 12:59:13 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 86.75.149.242 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1264366753 23424 127.0.0.1 (24 Jan 2010 20:59:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 24 Jan 2010 20:59:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e11g2000yqe.googlegroups.com; posting-host=86.75.149.242; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8820 Date: 2010-01-24T12:59:13-08:00 List-Id: Hi all out there, I was seeking for the most clean way to have something similar to the C execv in Ada. I believe this kind of method is not guaranteed to be available in some environment, this would not be welcome to expect it to be a standard Ada packages method. I could simply create a simple wrapper around the corresponding C library method, but although easy, this way would also be locally specific, so I wanted to know about cleaner ways to achieve the same goal, that is, running an external program (or may be also a shell command) from an Ada application. I came to know about Ada POSIX bindings, and its seeming only one implementation : Florist. I've looked at Florist source I founded in a Debian package (although I'm running Windows, the source from the Debian package compiled fine on Windows, thanks to the GPR file Ludovic created for this package) and noticed it's full of GNAT specific stuff. What do nice peoples here know about this subject ? I guess Ada has a lot of concerned with POSIX, but I only this one binding, Florist, specific to GNAT. Or may be some other vendors also provide their own implementation of the Florist specifications ? (free or not free of charge, the may target here should be to know if weither or not this is a fully GNAT specific binding). By the way, to come back to my initial quest which I should not forget, I still wonder if a POSIX binding is really the better way to run an external program from an Ada application. Have a nice day (it's evening time here)