Skip to content
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

Closed
Tyriar opened this issue Aug 24, 2016 · 14 comments
Closed

Allow terminal launch path to be set via integrated terminal API #10917

Tyriar opened this issue Aug 24, 2016 · 14 comments
Assignees
Labels
api feature-request Request for new features or functionality terminal Integrated terminal issues

Comments

@Tyriar
Copy link
Member

Tyriar commented Aug 24, 2016

No description provided.

@Tyriar Tyriar added feature-request Request for new features or functionality api terminal Integrated terminal issues labels Aug 24, 2016
@Tyriar Tyriar added this to the August 2016 milestone Aug 24, 2016
@Tyriar Tyriar self-assigned this Aug 24, 2016
@guogaigai
Copy link

thanks for your reply firstly , then when will this API release ? @Tyriar

@Tyriar
Copy link
Member Author

Tyriar commented Aug 25, 2016

@guogaigai v1.5.0 is the plan

@guogaigai
Copy link

ok ,thank you very much@Tyriar

@daviwil
Copy link
Contributor

daviwil commented Sep 9, 2016

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 :)

@Tyriar
Copy link
Member Author

Tyriar commented Sep 9, 2016

That's coming as well, good eye though 😃

@daviwil
Copy link
Contributor

daviwil commented Sep 9, 2016

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

@Tyriar
Copy link
Member Author

Tyriar commented Sep 9, 2016

@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.

@daviwil
Copy link
Contributor

daviwil commented Sep 9, 2016

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?

@Tyriar
Copy link
Member Author

Tyriar commented Sep 9, 2016

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.

@daviwil
Copy link
Contributor

daviwil commented Sep 9, 2016

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 :)

@Tyriar Tyriar closed this as completed in f85725f Sep 10, 2016
Tyriar added a commit that referenced this issue Sep 10, 2016
Add shellPath to allow user specify preferred shell. Fix #10917
@Tyriar Tyriar reopened this Sep 13, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Sep 13, 2016

Reopening to add shellArgs

@Tyriar Tyriar closed this as completed in 2966990 Sep 13, 2016
Tyriar added a commit that referenced this issue Sep 13, 2016
@Tyriar
Copy link
Member Author

Tyriar commented Sep 13, 2016

Reopening to add path/shellargs usage example to https://github.com/Microsoft/vscode-extension-samples

@Tyriar
Copy link
Member Author

Tyriar commented Sep 14, 2016

An example using the new API is up on the sample repository microsoft/vscode-extension-samples@94cd47f

@daviwil
Copy link
Contributor

daviwil commented Sep 14, 2016

Awesome, thanks a lot!

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api feature-request Request for new features or functionality terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants