Skip to content

Execute WSL/Linux from Snippet Plugin #14

Open
@herculosh

Description

@herculosh

Hi,

First of all, thanks! Great plugin you have put on the legs.

Has anyone managed to integrate WSL into the snippet plugin?

  "sh": {
    "template": "{{src}}",
    "options": {
      "shell": "wsl.exe -d Ubuntu"
    },
    "showModal": true,
    "appendOutputContents": true,
    "showRunButtonInPreview": true
  },

When running the configuration above with the command below I get the error message Spawn wsl.exe -d Ubuntu ENOENT.

```sh
echo "test"
```

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