Hello,
BTW: the gambitscheme.org website seems to be down. It does not load here around.
I need to start a background/sub process fro gambit running procedure in gambit too.
This works fine so far when using open-process to start the same executable with proper parameters.
But I need to get around an Android limitation: no way to use open-process or fork+exec with the same binary. (At least not using lambdanative, which I need too. It dies on permissions wrt. Dalvik cache.)
It is possible to use fork() instead. But the gambit runtime in the child process is confused. (Note that right after fork() and before returning to gambit all file descriptors except 0-2 are closed in the child process.)
Trying to mimic pthread.c from the examples to ___setup(&setup_params) again in the child did not work out either.
How could the trick be done?
Thanks for any hint
Jörg