[plt-scheme] No fork(), is there (current-mzscheme-executable)?
On Sep 22, Jay McCarthy wrote:
> I recently noticed there is no way to fork() in MzScheme. (You can
> use `thread' to get a new thread and `subprocess' to start
> subprocesses, but you cannot fork and have the same variable set or
> use `subprocess' to start an independent MzScheme interpreter.)
`subprocess' will do a fork() followed by an exec() in the subprocess
on Unix platforms.
> Is there a parameter that holds the path that MzScheme was called with
> so I can use `subprocess' in this way?
| noah:~/mail eli> mzscheme
| Welcome to MzScheme version 209, Copyright (c) 2004 PLT Scheme, Inc.
| > program
| "/usr/u/eli/plt/bin/x86_64/mzscheme"
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!