[plt-scheme] No fork(), is there (current-mzscheme-executable)?
At Thu, 22 Sep 2005 10:07:51 -0400, Jay McCarthy wrote:
> Works great. Thanks.
>
> Jay
>
> On 9/22/05, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> > 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.)
Did you mean `current-directory' in the last para above?
Robby