Run things in the interactive console

Hi,

I’d like to be able to create commands that don’t show their output in the reporter, which isn’t interactive. Instead I’d like to send the command to the built in terminal.

So:

  1. User uses hotkey while on file/path:123
  2. Extension launches new terminal window or reuses previous window to execute some_command file/path:123 As if the user had done it themselves
  3. After command completes, terminal stays open

Is this possible?

4 Likes

Currently, no: the builtin terminal has no API I know of.

+100, we need this kinda api! The current approach of opening a new window in Terminal.app or iTerm isn’t appropriate!

I second this request or at least an API to open a WebKit panel…