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

Pass correct PID to language server #1805

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

diastremskii
Copy link
Contributor

VS Code Language Server sends SIG_0 to parent process, to make sure it's still alive. However, calling kill with SIG_0 also performs permission check, and since VTI passes 1 as processId - kill fails and language server thinks the parent process doesn't exist.
This PR suggests a fix to this problem by passing a real PID.

Resolves: #1699

@diastremskii
Copy link
Contributor Author

Is it possible to merge this PR please? This bug makes VTI pretty much unusable :(

@dimitor115
Copy link

@octref @ktsn what about merging it? 😸 We are waiting for this fix!

@jackkoppa
Copy link

Awesome, thank you @TheBeastOfCaerbannog! 🙏 Great debugging on this

@octref
Copy link
Member

octref commented Jun 24, 2020

Sorry I have been on leave.
Great work and thanks for your contribution 👍

@octref octref merged commit 53fc9c3 into vuejs:master Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VTI crashes with exit code 1 without any logs
6 participants