comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Is it possible to start another executable from within an ada program?
Date: Tue, 13 May 2003 18:25:43 +0200
Date: 2003-05-13T18:25:43+02:00	[thread overview]
Message-ID: <3184874.Ph3HeJpxRb@linux1.krischik.com> (raw)
In-Reply-To: f7b6c6c4.0305130726.1eca1ea2@posting.google.com

Vincent wrote:

> I have a little problem : I am trying to start another .exe from my
> ADA program...  Anybody knows of a way to do such a thing?

Depends on the compiler you are using. GNAT has a libary for low level OS
access.

If you need some Demo source you might want to look here:

http://adacl.sourceforge.net/html/TestCommand__adb.htm
http://adacl.sourceforge.net/html/______Include__AdaCL-OS-Command__adb.htm#158_9

Of cource this is not finished code.

> In a perfect world, I'd prefer the call to be blocking, but I could
> also do with a non-blocking call.  Any ideas?

GNAT can do both. 

With Regards

Martin

--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




  parent reply	other threads:[~2003-05-13 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 15:26 Is it possible to start another executable from within an ada program? Vincent
2003-05-13 15:54 ` Larry Kilgallen
2003-05-13 16:03 ` Is it possible to start another executable from within an adaprogram? David C. Hoos
2003-05-13 16:25 ` Martin Krischik [this message]
2003-05-13 21:06 ` Is it possible to start another executable from within an ada program? Christoph Schlegel
2003-05-14 22:36   ` R. Srinivasan
replies disabled

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