Don't use Ctrl+D to exit the interactive shell.