-
Notifications
You must be signed in to change notification settings - Fork 29.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 terminal launch path to be set via integrated terminal API #10917
Comments
thanks for your reply firstly , then when will this API release ? @Tyriar |
@guogaigai v1.5.0 is the plan |
ok ,thank you very much@Tyriar |
Looks like there's been a commit to enable this but I only see the terminal's path being added as a parameter. Could you also add a parameter for arguments to send to the terminal app? I know it may not work in Windows but it'd be helpful to not have to use hacks for all 3 platforms :) |
That's coming as well, good eye though 😃 |
Perfect! Any chance the arguments will also work on Windows? I remember you telling me that there was a bug in the library you're using for terminal support |
@daviwil #8429 I marked it as upstream/help wanted, the problem likely lies in chjj/pty.js#137, either a coding error or the version of winpty it uses it too old. |
Yep, I was going to use the batch file approach as discussed in #8429 if the arguments still didn't work. Any chance we could temporarily fork one (or both) of your dependencies to fix the problem in the short term until the project maintainers get to it? |
It's already forked to https://github.com/Tyriar/pty.js in order to fix some cross-platform build issues. The project is mostly unmaintained now though so I have doubts of being able to upstream any fixes. |
One of these days I might get a few moments to help get it fixed then. Depends on how painful it is for me to launch PowerShell using a batch file that has to be updated for each execution :) |
Add shellPath to allow user specify preferred shell. Fix #10917
Reopening to add shellArgs |
Reopening to add path/shellargs usage example to https://github.com/Microsoft/vscode-extension-samples |
An example using the new API is up on the sample repository microsoft/vscode-extension-samples@94cd47f |
Awesome, thanks a lot! |
No description provided.
The text was updated successfully, but these errors were encountered: