Skip to content

PugKong/wsl-wrapper

Repository files navigation

WSL Wrapper

build License: WTFPL Coverage Status Go Report Card LoC Release

A tiny tool for running commands from your WSL distribution as a standalone executable. At the moment supports only the default distro.

Usage

Download the binary from the Releases page and rename it to the command you want to wrap. For example, if you want to wrap git, then rename the file to git.exe.

Then use it as normal Windows app, i.e. .\git.exe add .\.github\workflows\ci.yml will fire wsl git add ./.github/workflows/ci.yml command with redirected input and output, the log file git.log will be placed next to the binary.

Why?

Now JetBrains Idea needs (or I just don't know how to set up it properly) some docker.exe to work with docker installed inside WSL. That's why the wrapper is here. Hope one day I will exterminate the repo.

About

A tiny tool for running commands from your WSL distribution as a standalone executable

Topics

Resources

License

Stars

Watchers

Forks

Languages