/* Extension that safely execs a new process */ #include "escheme.h" #include #include #include #include static Scheme_Object *safe_exec(int argc, Scheme_Object **argv) { mz_jmp_buf not_yet; char** sarg = NULL; int i = 0; struct itimerval disable = { {0, 0}, {0, 0}}; int result; sarg = alloca(sizeof(char*)*(argc+1)); for(;i