Lisp HUG Maillist Archive

Location of an executable

Hi

this is a FAQ, I know.

I need to figure out the location of an executable (i.e. a delivered 
application) once it starts; at least in LWW.

I just need a quick fix for the time being.  Something like 'argv[0]'.

Any help is appreciated.

Thanks

--
Marco Antoniotti					http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Re: Location of an executable

Unable to parse email body. Email id is 3785

Re: Location of an executable

Marco Antoniotti wrote:

> I need to figure out the location of an executable (i.e. a delivered
> application) once it starts; at least in LWW.
>
> I just need a quick fix for the time being.  Something like 'argv[0]'.

SYSTEM:*LINE-ARGUMENTS-LIST* gives you a list of the command-line arguments
used when Lispworks was invoked.  LW:LISP-IMAGE-NAME returns the name of
the running image.

Regards,

Arthur Lemmens


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


Updated at: 2020-12-10 08:53 UTC