comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Ada/Operating System Interface (OSI)
Date: 2000/08/15
Date: 2000-08-15T00:00:00+00:00	[thread overview]
Message-ID: <aANYwsVJQ0x4@eisner.decus.org> (raw)
In-Reply-To: Pine.LNX.4.21.0008151202530.21799-100000@dione.ids.pl

In article <Pine.LNX.4.21.0008151202530.21799-100000@dione.ids.pl>, Michal Zalewski <lcamtuf@dione.ids.pl> writes:
> On Tue, 15 Aug 2000, Ultor wrote:
> 
>> I'm wondering how to execute other process from ADA (I got GNAT). I've
>> found "Ada/Operating System Interface (OSI)" which gives ability to
>> execute process using Invoke_Process procedure from this package. I
>> believe that ther's some standard procedure for executing process in
>> ADA95. Could any1 tell me which procedure is that cause i can't find
>> it in Reference.
> 
> At least under GNAT, you can always use GNAT.OS_Lib.Spawn
> procedure. Typical, call looks this way:

> Unfortunately, I have no idea if there's any portable way to execute
> programs on Unix machines within Ada code (and without importing
> system() or exec*() functions from C libraries ;).

The original problem statement did not say Unix.

Certainly as stated there is no way to write a fully portable program
since the commands to be executed differ from one operating system to
another.




  reply	other threads:[~2000-08-15  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-14 23:23 Ada/Operating System Interface (OSI) Ultor
2000-08-15  0:00 ` Michal Zalewski
2000-08-15  0:00   ` Larry Kilgallen [this message]
2000-08-15  0:00 ` Florian Weimer
replies disabled

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