comp.lang.ada
 help / color / mirror / Atom feed
* How to get pathname of executable
@ 2005-12-13 14:40 Dirk Heinrichs
  2005-12-13 15:26 ` Marc A. Criley
  0 siblings, 1 reply; 11+ messages in thread
From: Dirk Heinrichs @ 2005-12-13 14:40 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-12-16  6:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 14:40 How to get pathname of executable Dirk Heinrichs
2005-12-13 15:26 ` 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

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