I am new to plugin development for JetBrains and would like to know how I can execute a command in the terminal with JetBrains Gateway.
I've tried like this:
var shellTerminalWidget = TerminalView.getInstance(project).createLocalShellWidget(currentWorkspacePath, "NewTab");
shellTerminalWidget.executeCommand(command);
It works well when I test locally. However, when I use JetBrains Gateway and install this plugin on the host, it doesn't work any longer, and I can't find any exceptions in the log.
Is there any difference when using Gateway?