[plt-scheme] No fork(), is there (current-mzscheme-executable)?
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.)
>
> Matthew
>
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.brown.edu>
http://jay.makeoutcity.com/