FASL=`get_fasl_file`
run_cmd_in_dir runtime ../microcode/scheme --library ../lib --heap 6000 \
- --fasl "${FASL}" <<EOF
+ --fasl "${FASL}" --batch-mode <<EOF
(begin
(disk-save "../lib/runtime.com")
(load-option (quote compiler))
{
initialize_interruptable_extent ();
{
- interactive =
- (option_force_interactive
- || (isatty (STDIN_FILENO))
- || (isatty (STDOUT_FILENO))
- || (isatty (STDERR_FILENO)));
+ if (option_force_interactive)
+ interactive = true;
+ else if (option_batch_mode)
+ interactive = false;
+ else
+ interactive
+ = ((isatty (STDIN_FILENO))
+ || (isatty (STDOUT_FILENO))
+ || (isatty (STDERR_FILENO)));
/* If none of the stdio streams is a terminal, disassociate us
from the controlling terminal so that we're not affected by
keyboard interrupts or hangup signals. However, if we're