[gui] Use the CLI's interactive shell to run commands; fixes #5