Enable 'interactive' mode when input comes from stdin.

This prevents syntax errors from terminating the shell.