Run commands in internal terminal

I am looking for the right way to have my plugin send (and run) shell commands to the local terminal which is embedded in the IDE.
How do i correctly address the console to send commands to it and retrieve the results?
Can i control (list, select, create) which session or terminal tab to address?

Thanks for any information


I don't believe we have any API at the moment to interact with the terminal from outside of it.

The terminal plugin is open-source, so if you can figure something out, it's all yours. :)


Hi, Kay Stenschke do you already achieve some solution to this problem? I am currently having the same problem, I can execute a command in the terminal but can´t get the output


Please sign in to leave a comment.