[plt-scheme] No fork(), is there (current-mzscheme-executable)?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Sep 22 09:59:53 EDT 2005

At Thu, 22 Sep 2005 09:52:31 -0400, Jay McCarthy wrote:
> Is there a parameter that holds the path that MzScheme was called with
> so I can use `subprocess' in this way?

`(find-executable-path 'exec-file)' returns the original argv[0] for
the MzScheme process.

If it's a relative path, use `find-executable-path' to arrive at a full
path. (The current directory must be the same as on startup for that to
work.)

Matthew



Posted on the users mailing list.