[cli/engine/commands/shell] break on EOFError
[cli/engine/commands/shell] raise EOFError when null-terminated input reaches EOF