-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow terminals to be reused #18377
Comments
For January we decided to keep the task in the core. So there is no need to make this 'public' API now. May be it would be good to first experiment a little with the new API. |
@dbaeumer just to make sure, were you thinking of using a |
@Tyriar I would like to achieve the following:
Use case if for a build task: if the user runs the build tasks 3 times in a row I would like to have one terminal (e.g. on entry in the drop down in the terminal pane) which contains the output of all three task runs. |
@Tyriar I have one additional question. Does the terminal require to run a shell or would the terminal be able to run any other arbitrary process (for example a node.exe). |
@Tyriar I got it working to run an arbitrary program. Only drawback is that I needed to specify the full path to the program (e.g. |
@dbaeumer do you mean the shell path you're using is Wrapping the command means the process will die when it finishes so I don't see a downside? |
@Tyriar the only problem is argument passing with spaces contained. If you call node directly then you pass the args as a string[]. If you call the cmd.exe for example you need to construct a single string with proper arg quoting to ensure everything works when for example the command to call contains spaces. And you save a process :-) |
@DonJayamanne could this be useful for Python terminal execution? |
From @dbaeumer:
The text was updated successfully, but these errors were encountered: