1
0
mirror of https://github.com/PDP-10/its.git synced 2026-03-10 20:53:40 +00:00

Wait for EOF after quitting the emulator.

When shutting down the emulator and starting another, it's otherwise
possible for the first read from the new emulator to return an error
(EIO from the pty read in Expect).
This commit is contained in:
Adam Sampson
2018-08-04 01:24:09 +01:00
committed by Lars Brinkhoff
parent 7fa6be23db
commit 0ac926bc7d
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ proc create_tape {file} {
proc quit_emulator {} {
respond "sim>" "q\r"
expect eof
}
proc initialize_comsat {} {

View File

@@ -43,6 +43,7 @@ proc create_tape {file} {
proc quit_emulator {} {
respond "sim>" "q\r"
expect eof
}
proc initialize_comsat {} {