comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: More of less most standard Ada binding to POSIX
Date: Sun, 24 Jan 2010 12:59:13 -0800 (PST)
Date: 2010-01-24T12:59:13-08:00	[thread overview]
Message-ID: <abacdac6-0cfe-4b97-a599-cc827942e4ef@e11g2000yqe.googlegroups.com> (raw)

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)



             reply	other threads:[~2010-01-24 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-24 20:59 Hibou57 (Yannick Duchêne) [this message]
2010-01-26 19:44 ` More of less most standard Ada binding to POSIX Manuel Gomez
2010-01-27  1:40   ` Hibou57 (Yannick Duchêne)
2010-01-27  2:20     ` Hibou57 (Yannick Duchêne)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox