run a command in shell.

useful when the command gives us an interactive prompt (shell, a
breakpoint in the code, etc).