Only open a shell if we're explicitly told to with a -i flag.