comp.lang.ada
 help / color / mirror / Atom feed
From: Dirk Heinrichs <ext-dirk.heinrichs@nokia.com>
Subject: How to get pathname of executable
Date: Tue, 13 Dec 2005 14:40:16 GMT
Date: 2005-12-13T14:40:16+00:00	[thread overview]
Message-ID: <k3Bnf.16982$_k2.286059@news2.nokia.com> (raw)

Hello,

I'm trying to find out how to get the complete pathname of an ada executable
on Linux. I already tried Ada.Command_Line.Command_Name, but that only
gives the executable's name as the user typed it. I want to find out where
it is stored in the filesystem so that it can load other files from
directories relative to its own directory.

Thanx...

        Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstra�e 55      | Web:  http://www.capgemini.com
D-40472 D�sseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net



             reply	other threads:[~2005-12-13 14:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13 14:40 Dirk Heinrichs [this message]
2005-12-13 15:26 ` How to get pathname of executable Marc A. Criley
2005-12-13 15:57   ` Dirk Heinrichs
2005-12-14  6:34     ` Lionel Draghi
2005-12-15  0:06       ` Randy Brukardt
2005-12-15  9:30       ` Dirk Heinrichs
2005-12-15 10:26         ` Martin Dowie
2005-12-15 13:10           ` Dirk Heinrichs
2005-12-15 17:34             ` Pascal Obry
2005-12-15 22:42             ` Simon Wright
2005-12-16  6:56               ` Martin Dowie
replies disabled

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