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:
committed by
Lars Brinkhoff
parent
7fa6be23db
commit
0ac926bc7d
@@ -37,6 +37,7 @@ proc create_tape {file} {
|
||||
|
||||
proc quit_emulator {} {
|
||||
respond "sim>" "q\r"
|
||||
expect eof
|
||||
}
|
||||
|
||||
proc initialize_comsat {} {
|
||||
|
||||
@@ -43,6 +43,7 @@ proc create_tape {file} {
|
||||
|
||||
proc quit_emulator {} {
|
||||
respond "sim>" "q\r"
|
||||
expect eof
|
||||
}
|
||||
|
||||
proc initialize_comsat {} {
|
||||
|
||||
Reference in New Issue
Block a user