Possibility to get the name of the linked program in Linux
Posted: Sat Aug 08, 2009 1:32 pm
Hi PureBASIC coders,
I use PB also in Linux. Now I want to write a program which includes several functionalities, depending on the name of the program.
To do this I created different symbolic links to my program (as usual).
But, unfortunately, I was not able to get the name of the links.
(See http://www.purebasic.fr/english/viewtopic.php?p=294862)
Maybe an optional parameter for ProgramFilename() will do the job.
Bernd
I use PB also in Linux. Now I want to write a program which includes several functionalities, depending on the name of the program.
To do this I created different symbolic links to my program (as usual).
But, unfortunately, I was not able to get the name of the links.
(See http://www.purebasic.fr/english/viewtopic.php?p=294862)
Maybe an optional parameter for ProgramFilename() will do the job.
Bernd