From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,501858d4f6c6f9bc X-Google-Attributes: gid103376,public From: Gautier.DeMontmollin@maths.unine.ch (Gautier) Subject: Re: running an exe from gnat Date: 1997/03/18 Message-ID: <1997Mar18.153902.5790@news>#1/1 X-Deja-AN: 226445004 References: <332D3BD8.1AC5@ny.essd.northgrum.com> Organization: University of Neuchatel, Switzerland Reply-To: Gautier.deMontmollin@Maths.UniNe.CH Newsgroups: comp.lang.ada Date: 1997-03-18T00:00:00+00:00 List-Id: Mindy Matusewicz writes: > I am running gnat for windows nt on my pentium and I need to call an exe > program. How do you do that in Ada? Use Spawn proc. in GNAT.OS_lib if I remember well. This is implemented in the Exec procedure of my DOS package (it uses only the GNAT library, so it should run under windoze). You find it in pc_paqs.zip http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm