Stop timer interrupts before doing a execve.

This commit is contained in:
mainzelm 2002-01-24 17:11:48 +00:00
parent 4ba631031d
commit 4406337368
1 changed files with 2 additions and 1 deletions

View File

@ -109,8 +109,9 @@ s48_value scheme_exec(s48_value prog, s48_value argv, s48_value env)
unix_env[j] = s48_extract_string(S48_VECTOR_REF(env,j));
unix_env[envlen] = NULL;
}
s48_stop_alarm_interrupts();
execve(s48_extract_string (prog), unix_argv, unix_env); /* Do it. */
s48_start_alarm_interrupts();
e = errno;
if( env != S48_TRUE ) {
Free(unix_env);