Skip to content

Using "outputTo" with "terminal" to open new terminal instance rather than using most recent #125

@yoiang

Description

@yoiang

Hello y'all!
I apologize for all the issue posts but I'm excited to wrap this extension into my daily usage! Thanks again for the effort you've put into it 😄

This request is to (configurable-y?) have outputTo with terminal use a new Terminal window for each Task run. This is most important because any task that is long or even on-going until explicitly terminated isn't recognized, and pressing "Run Task" on other task while this long-running Terminal tab is selected will result in the task command being sent to the application that is running rather than being properly executed.

This is the MVP of the request, further awesomeness would be things like:

  • simple process status monitoring within the tasks window, something like a process indicator while running and "Run Task" being swapped out for "Stop Task", however this doesn't work when one wants to purposefully spawn multiple instances of the same task at once. Task Explorer does something like this
  • reuse of the same window for the same task if the previous run has finished, new windows being opened if the previous run is still going
  • auto-exiting of the Terminal process like many other runnings who keep the window open with "Process finished, press any key to close..." kinda prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: outputChanges related to the vscode output window and terminal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions