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

2 comments
Comment actions Permalink

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. :) https://upsource.jetbrains.com/ideac/structure/HEAD/plugins%2Fterminal%2Fsrc%2Forg%2Fjetbrains%2Fplugins%2Fterminal

0
Comment actions Permalink

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

0

Please sign in to leave a comment.