[plt-scheme] Bytecode compiled file location

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jan 31 08:08:34 EST 2005

At Mon, 31 Jan 2005 01:05:22 +0000, Matthew Jadud wrote:
> I read the thread on how a script might be told where it is. Is there 
> any way to create a bytecode-compiled executable that knows where it is? 
> That is, it would have access to the location of it's own executable 
> file path?

If you create an executable with --exe or --gui-exe, then
`(find-system-path 'exec-file)' reports the path.


Posted on the users mailing list.