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
Condense Mail Headers

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

Print Reply
Content-Type: text/plain; charset=us-ascii
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: David Botton <[log in to unmask]>
Date: Thu, 8 Jul 1999 10:38:39 -0700
MIME-Version: 1.0
Parts/Attachments: 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