TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
David Botton <[log in to unmask]>
Thu, 8 Jul 1999 10:38:39 -0700
text/plain (39 lines)
You can:

1. Bind to the C functions that allow access to unix
commands.
2. Use a posix binding
3. Check if your compiler vendor supplies you with a
package to do it.

On GNAT for example you can use the functions in the
GNAT.OS_Lib package to do this.

David Botton

--- "Emmanuel.Leguy" <[log in to unmask]> wrote:
> Hello,
>
> Is it possible to run a unix command from an ADA
> program? How?
>
> Thanks,
>
> Emmanuel.
> --
> Laboratoire d'Informatique Fondamentale de Lille
> (LIFL)
> Universite des Sciences et Technologies de Lille
> Batiment M3 Cite Scientifique
> 59655 Villeneuve d'Ascq Cedex
> FRANCE
> tel: 03 20 33 63 38
> fax: 03 20 43 65 66
> mailto:[log in to unmask]
> http://www.lifl.fr
>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

ATOM RSS1 RSS2