Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Error when trying to use this extension with sourcekite in WSL bash #35

@eternalphane

Description

@eternalphane

If I wrap bash, swift and sourcekite with batch files like:

@bash -c "~/sourcekite/.build/debug/sourcekite %*"

and set the "swift.path" in user preference to path of those batch files, then I keep getting errors This socket has been ended by the other party.

If I replace all the spawn(executable) in your extension with spawn(bash, ["-c", executable]) and set the path things to WSL paths, it works just fine.

So how can I avoid the error without modifying your code, or would you mind add some settings for WSL users?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions